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

Traeffik and Django dockerfile changes #2801

Merged
merged 9 commits into from
Sep 8, 2020
Merged

Traeffik and Django dockerfile changes #2801

merged 9 commits into from
Sep 8, 2020

Conversation

arnav13081994
Copy link
Contributor

Description

Reduce the number of image layers and speed up the build process slightly by combining varoius steps in Dockerfile into just one.

Rationale

In Django Dockerfile, I am proposing to combine ownership change step with file copying step. This would reduce the number of layers and potentially speed up the build process as well.

In Traefik Dockerfile, I am proposing to combine the 3 Run steps into 1 because if any one of them fails, the build should get aborted anyway and this would also reduce the number of layers and potentially speed up the build process as well.

Use case(s) / visualization(s)

NA

Copy link
Member

@browniebroke browniebroke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@browniebroke browniebroke merged commit 536e86e into cookiecutter:master Sep 8, 2020
@browniebroke
Copy link
Member

Thanks! 🎉

@arnav13081994 arnav13081994 deleted the traeffik-dockerfile-changes branch September 11, 2020 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants