This PR improves the poetry install lines in the backend/backend.dockerfile and backend/celeryworker.dockerfile Dockerfiles. The existing poetry install commands are replaced with more efficient ones to enhance the dependency installation process during the Docker image build.
Summary of Changes
In backend/backend.dockerfile:
Replaced the existing poetry install command with the following:
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi
This command disables the creation of a virtual environment and installs the dependencies without any interaction or ANSI output.
In backend/celeryworker.dockerfile:
Replaced the existing poetry install command with the following:
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi
This command disables the creation of a virtual environment and installs the dependencies without any interaction or ANSI output.
These changes optimize the poetry install process and improve the efficiency of building the Docker images for the backend and celery worker services.
Fixes #2.
🎉 Latest improvements to Sweep:
Sweep can now passively improve your repository! Check out Rules to learn more.
💡 To get Sweep to edit this pull request, you can:
Comment below, and Sweep can edit the entire PR
Comment on a file, Sweep will only modify the commented file
Edit the original issue to get Sweep to recreate the PR from scratch
PR Feedback (click)
Description
This PR improves the poetry install lines in the backend/backend.dockerfile and backend/celeryworker.dockerfile Dockerfiles. The existing poetry install commands are replaced with more efficient ones to enhance the dependency installation process during the Docker image build.
Summary of Changes
In backend/backend.dockerfile:
This command disables the creation of a virtual environment and installs the dependencies without any interaction or ANSI output.
In backend/celeryworker.dockerfile:
This command disables the creation of a virtual environment and installs the dependencies without any interaction or ANSI output.
These changes optimize the poetry install process and improve the efficiency of building the Docker images for the backend and celery worker services.
Fixes #2.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: