Describe the Change
This change updates the poetry install command in the Dockerfile to use the new --only main option, replacing the deprecated --no-dev flag. This is in line with the latest best practices and ensures compatibility with the newer versions of poetry. The change is necessary to prevent build errors and to maintain the stability of the CI/CD pipeline.
Describe Testing Procedures
To verify this change, I performed the following steps:
Built the Docker image using the updated Dockerfile.
Ran the container to ensure that the application starts up correctly.
Ran the existing unit and integration test suite to confirm that no new errors were introduced.
Verified that the change did not affect the output of the poetry install command, other than the expected suppression of the deprecation warning.
Sample output
No output changes
Checklist
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of and tested my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
Describe the Change This change updates the
poetry install
command in the Dockerfile to use the new--only main
option, replacing the deprecated--no-dev
flag. This is in line with the latest best practices and ensures compatibility with the newer versions of poetry. The change is necessary to prevent build errors and to maintain the stability of the CI/CD pipeline.Describe Testing Procedures To verify this change, I performed the following steps:
Sample output No output changes
Checklist