We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b51132 commit 311ff5fCopy full SHA for 311ff5f
Dockerfile
@@ -2,14 +2,15 @@ FROM ubuntu:20.04
2
3
RUN apt update
4
RUN apt install -y python3-pip
5
-RUN pip3 install poetry
+RUN pip3 install --upgrade pip poetry
6
+# ^ pip: https://github.com/python-poetry/poetry/issues/5104
7
8
WORKDIR /opt/src/scheduler-profilers
9
10
COPY poetry.lock .
11
COPY pyproject.toml .
12
-RUN poetry config virtualenvs.create false && poetry install --no-dev --no-root -E docker
13
+RUN poetry config virtualenvs.create false && poetry install --only main,docker
14
15
COPY scheduler_profilers /opt/src/scheduler-profilers/scheduler_profilers
16
RUN pip3 install --no-deps .
0 commit comments