Skip to content

Commit 0d9aa95

Browse files
committed
pin poetry version in docker
1 parent 62f0ef7 commit 0d9aa95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ FROM python:3.10.12 AS base
22

33
WORKDIR /code
44

5-
RUN pip install --no-cache-dir poetry
5+
ARG POETRY_VERSION=2.3.1
6+
RUN pip install --no-cache-dir "poetry==${POETRY_VERSION}"
67
COPY pyproject.toml poetry.lock /code/
78
RUN poetry sync --no-root --without dev
89

0 commit comments

Comments
 (0)