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

feat(docker): multi-stage builds for separate development and production environments #181

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

l-lumin
Copy link
Contributor

@l-lumin l-lumin commented Dec 21, 2024

Separate Dockerfiles for dev and prod.
The setup has been tested locally in both stages.

@gagb gagb added the open for reviewing Invites community to help review this PR. label Dec 21, 2024
Reorganize the Dockerfile to implement multi-stage builds for 
improved efficiency. Introduce a dedicated stage for ffmpeg to 
reduce image size and separate concerns. Set up a development 
stage for installing Python packages and a production stage 
to copy necessary binaries and dependencies. This enhances 
build performance and maintains a cleaner final image.
Remove unnecessary INSTALL_GIT argument and set target to 
development in the devcontainer.json file. This simplifies 
the configuration and aligns it with the intended development 
environment setup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open for reviewing Invites community to help review this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants