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

Improve dockerfile build time #362

Closed
ibnesayeed opened this issue Nov 10, 2017 · 0 comments · Fixed by #363
Closed

Improve dockerfile build time #362

ibnesayeed opened this issue Nov 10, 2017 · 0 comments · Fixed by #363

Comments

@ibnesayeed
Copy link
Contributor

A Dockerfile was added as per #342 which generates a minimal image, but each time an image is built, all the dependencies are downloaded again because of the cache invalidation. This can be improved by some strategic placement of instructions in the Dockerfile and resolving dependencies before coping the whole source code in.

Another possibility of improvement is exclusion of unnecessary stuff from Docker's build context by including a .dockerignore file.

@ldko ldko closed this as completed in #363 Nov 17, 2017
ldko added a commit that referenced this issue Nov 17, 2017
Docker build improvements to fix #362
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 a pull request may close this issue.

1 participant