Skip to content

Commit c26715d

Browse files
authored
Specify poetry version in Dockerfile for security
Signed-off-by: Colin Dean <colindean@users.noreply.github.com>
1 parent aabb34b commit c26715d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM python:3.11-slim
22

3-
RUN pip install poetry && mkdir /src
3+
RUN pip install poetry==2.3.2 && mkdir /src
44
COPY poetry.lock pyproject.toml README.md entrypoint.sh /src
55
COPY diff_poetry_lock /src/diff_poetry_lock
66
RUN python3 -m venv /src/.venv && poetry install --directory /src --without=dev

0 commit comments

Comments
 (0)