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

chore: refactor Dockerfile setup for improved modularity and maintainability #36

Merged
merged 3 commits into from
Apr 3, 2024

Conversation

volod-vana
Copy link
Member

Split up the monolithic Dockerfile into separate files for each build target (CPU, GPU, ARM64). Now when you build an image for a specific environment, it doesn't unnecessarily build the other targets.

For example, if you're building the ARM64 image, it will use the common base but won't waste time building the GPU or CPU images. This saves time and resources, since you only build what you need.

The Dockerfiles are also better organized now in their own directory, and the new build script makes it easy to build the specific image you want.

This change makes our Docker setup more efficient and maintainable. Faster builds, less unnecessary work, cleaner structure.

@volod-vana volod-vana self-assigned this Mar 21, 2024
@volod-vana volod-vana requested a review from Kahtaf March 21, 2024 21:32
@tnunamak tnunamak changed the title Refactor Dockerfile setup for improved modularity and maintainability chore: refactor Dockerfile setup for improved modularity and maintainability Mar 21, 2024
@volod-vana volod-vana merged commit ce99943 into main Apr 3, 2024
1 check passed
@volod-vana volod-vana deleted the docker-build branch April 3, 2024 14:54
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