Skip to content

Commit

Permalink
Make scenario dockerfile more secure
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <jamiehalebc@gmail.com>
  • Loading branch information
jamshale committed Aug 26, 2024
1 parent 56ec8b8 commit 298d418
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scenarios/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM python:3.10

WORKDIR /usr/src/app/

ENV POETRY_VERSION=1.8.3
ENV POETRY_HOME=/opt/poetry
RUN curl -sSL https://install.python-poetry.org | python -
RUN curl --proto "=https" --tlsv1.2 -sSf -L https://install.python-poetry.org | python -


ENV PATH="/opt/poetry/bin:$PATH"
RUN poetry config virtualenvs.in-project true
Expand Down

0 comments on commit 298d418

Please sign in to comment.