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

Small Dockerfile refactoring #3307

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Small Dockerfile refactoring #3307

merged 1 commit into from
Dec 11, 2024

Conversation

nazar-pc
Copy link
Member

While I generally don't like COPY ., in this case it is fine because we have the same exact list of files to include specified in .dockerignore file.

The benefit of this change is that CUDA and ROCm dependencies in farmer container do not need to be reinstalled when only source code changes, which helps with cache reuse.

Code contributor checklist:

Copy link
Member

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

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

Looks ok

@nazar-pc nazar-pc added this pull request to the merge queue Dec 11, 2024
Merged via the queue into main with commit 8a39d94 Dec 11, 2024
8 of 15 checks passed
@nazar-pc nazar-pc deleted the dockerfile-refactoring branch December 11, 2024 01:39
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.

2 participants