Skip to content

Commit

Permalink
adding --no-root flag to poetry install command in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrsenkow committed Jan 15, 2025
1 parent a54d85f commit 4a1845e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ FROM base
# This will ensure dependencies are cached
COPY poetry.lock pyproject.toml /$appname/
RUN poetry config virtualenvs.create false \
&& poetry install -vvv --no-root --without dev --no-interaction
&& poetry install -vvv --no-root --without dev --no-interaction --no-root

# Install PostgreSQL libraries
RUN dnf install -y postgresql-libs
Expand Down

0 comments on commit 4a1845e

Please sign in to comment.