Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@samcorky
Copy link
Contributor

@samcorky samcorky commented Apr 6, 2025

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.

Closes #309

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.
@samcorky samcorky linked an issue Apr 6, 2025 that may be closed by this pull request
@sjefferson99 sjefferson99 requested a review from Copilot April 7, 2025 11:30
Copy link
Contributor

Copilot AI left a 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

@samcorky
Copy link
Contributor Author

samcorky commented Apr 7, 2025

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.
@samcorky
Copy link
Contributor Author

samcorky commented Apr 7, 2025

@sjefferson99 try now

@sjefferson99 sjefferson99 requested a review from Copilot April 7, 2025 22:26
@sjefferson99
Copy link
Member

Container builds now.

Copy link
Member

@sjefferson99 sjefferson99 left a comment

Choose a reason for hiding this comment

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

Now looks good.

Copy link
Contributor

Copilot AI left a 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:

@samcorky samcorky merged commit 3ca0038 into master Apr 8, 2025
@samcorky samcorky deleted the 309-add-env_file-option-to-docker-compose-files-and-rename-the-files branch April 8, 2025 08:44
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.

Add env_file: option to docker-compose files and rename the files

3 participants