-
Notifications
You must be signed in to change notification settings - Fork 1
Refactor environment variable handling and optimize Dockerfile. #311
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
Refactor environment variable handling and optimize Dockerfile. #311
Conversation
Added optional `.env` file support in all compose files for better environment configuration. Updated `Dockerfile` to optimize dependency installation by separating dependency caching and package installation steps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
- Dockerfile: Language not supported
|
See my comment |
Corrected indentation of the `required` field in the `env_file` block to adhere to proper YAML syntax. This change ensures accurate parsing and avoids potential errors in deployment.
|
@sjefferson99 try now |
|
Container builds now. |
sjefferson99
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
Files not reviewed (1)
- Dockerfile: Language not supported
Comments suppressed due to low confidence (2)
compose-pi.yml:13
- Ensure that using an object with keys 'path' and 'required' for env_file is supported by the configuration parser, since standard Docker Compose syntax typically expects a file path or list of file paths.
env_file:
compose-branch.yml:13
- Ensure that using an object with keys 'path' and 'required' for env_file is supported by the configuration parser, as standard Docker Compose expects a simple file path or list thereof.
env_file:
Added optional
.envfile support in all compose files for better environment configuration. UpdatedDockerfileto optimize dependency installation by separating dependency caching and package installation steps.Closes #309