We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f60f33 commit d32b3fcCopy full SHA for d32b3fc
Dockerfile
@@ -2,12 +2,10 @@ ARG PYTHON_VER=3.11
2
3
FROM python:${PYTHON_VER}-slim
4
5
-RUN pip install --upgrade pip \
6
- && pip install poetry
+RUN which poetry || curl -sSL https://install.python-poetry.org | python3 -
7
8
WORKDIR /local
9
COPY . /local
10
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
+RUN poetry config virtualenvs.create false \
+ && poetry install --no-interaction --no-ansi --with dev
0 commit comments