Locating public application files (css/js) in a docker based server.

Hello, I have followed this tutorial: and was able to install PEPS application on my server, but am having issues locating public application files like css/js used by the app.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

To enter a running Docker container, you can use the attach command. E.g:

docker attach <container name or ID>

Though, that is mostly useful for debugging purposes. If you want to edit files directly, I’d suggest doing so before building the Docker images.

In the linked tutorial, you run the command make build. If you look at the actual Makefile in the project, you’ll see that it is building Docker images:

build: domain
	cd mongod; docker build $(DOCKER_BUILD_OPTS) -t mongod .
	cd opa; docker build $(DOCKER_BUILD_OPTS) -t opa .
	cd peps; docker build $(DOCKER_BUILD_OPTS) -t peps .
	cd solr; docker build $(DOCKER_BUILD_OPTS) -t solr .
	cp domain smtpin/
	cd smtpin; docker build $(DOCKER_BUILD_OPTS) -t smtpin .
	cp domain smtpout/
	cd smtpout; docker build $(DOCKER_BUILD_OPTS) -t smtpout .

The cleanest way to modify this would be to edit the Dockerfile that produces the PEPS image. From there you could add or replace the files as needed.

For more information on building Docker images, check check out: