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
Update the Dockerfile to implement a multi-stage build process. 
Introduce a dedicated FFmpeg stage and separate development, build, 
and production stages to optimize image size and improve build 
efficiency. Add necessary dependencies and configure the 
environment for better performance. Update the .dockerignore 
to exclude sensitive files and unnecessary directories.
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