Skip to content

Commit 3588ce8

Browse files
authored
Fix(deps): remove redundant poetry install from Dockerfile
1 parent f03698d commit 3588ce8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ WORKDIR /app
1111
COPY pyproject.toml poetry.lock* ./
1212
COPY src/ ./src/
1313

14-
# Export dependencies and install them, then install the project
14+
# Export dependencies and install them
1515
RUN poetry export -f requirements.txt --output requirements.txt --without-hashes && \
16-
pip install --no-cache-dir --prefix="/install" -r requirements.txt && \
17-
poetry install --no-dev
16+
pip install --no-cache-dir --prefix="/install" -r requirements.txt
1817

1918

2019
# Stage 2: Runtime

0 commit comments

Comments
 (0)