Skip to content

Commit d32b3fc

Browse files
committed
fix dockerfile properly this time
1 parent 6f60f33 commit d32b3fc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ ARG PYTHON_VER=3.11
22

33
FROM python:${PYTHON_VER}-slim
44

5-
RUN pip install --upgrade pip \
6-
&& pip install poetry
5+
RUN which poetry || curl -sSL https://install.python-poetry.org | python3 -
76

87
WORKDIR /local
98
COPY . /local
109

11-
RUN which poetry || curl -sSL https://install.python-poetry.org | python3 - && \
12-
poetry config virtualenvs.create false && \
13-
poetry install --no-interaction --no-ansi --with dev
10+
RUN poetry config virtualenvs.create false \
11+
&& poetry install --no-interaction --no-ansi --with dev

0 commit comments

Comments
 (0)