Skip to content

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