Skip to content

Commit

Permalink
repo does not contain poetry.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
alpae committed Nov 20, 2024
1 parent cd24ca4 commit 0588d8f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ RUN python -m venv /venv

WORKDIR /app

COPY pyproject.toml poetry.lock README.md ./

RUN --mount=type=cache,target=$POETRY_CACHE_DIR poetry install --without dev --no-root
COPY pyproject.toml README.md ./
RUN --mount=type=cache,target=$POETRY_CACHE_DIR poetry lock && poetry install --without dev --no-root


FROM python:3.11-slim AS runtime
Expand Down

0 comments on commit 0588d8f

Please sign in to comment.