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

In Dockerfile, install requirements before the packing, to get caching benefits #518

Open
tsundvoll opened this issue Feb 19, 2024 · 1 comment
Labels
good first issue Good for newcomers improvement Improvement to existing functionality stale This issue or pull request already exists

Comments

@tsundvoll
Copy link
Contributor

tsundvoll commented Feb 19, 2024

Describe the improvement you would like to see
Copy over setup.py and README before first pip install, then copy rest and pip install again.

Also move the last COPY step to before setting user access

How will this change existing functionality?
Faster docker build

How will this improvement affect the current Threat Model?
N/A

@tsundvoll tsundvoll added the improvement Improvement to existing functionality label Feb 19, 2024
@oysand oysand added the good first issue Good for newcomers label Feb 19, 2024
@aeshub
Copy link
Contributor

aeshub commented May 3, 2024

This issue has automatically been marked as stale as there has been no activity for 60 days.

@aeshub aeshub added the stale This issue or pull request already exists label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers improvement Improvement to existing functionality stale This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants