Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some docker improvements #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jdkelley
Copy link

Added Dockerfile and .dockerignore files to the .dockerignore file. These files will still be sent to the Docker daemon, but the ADD and COPY directives won't add them to the container.

With docker-compose, you can run docker-compose up --build -d and any service defined with a build configuration option will be rebuilt before the container are restarted. NB - containers are only restarted if they need to be.

I would also recommend pulling your Nginx configuration into an Alpine based Nginx container and mapping in the certificates using docker volumes or secrets. I'd be happy to help with this if it would be beneficial.

jdkelley added 2 commits June 18, 2019 23:13
…ll use these files in the build process but will not copy them into the containter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant