Skip to content

Commit 311ff5f

Browse files
committed
Modernize poetry
1 parent 6b51132 commit 311ff5f

File tree

3 files changed

+952
-1300
lines changed

3 files changed

+952
-1300
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ FROM ubuntu:20.04
22

33
RUN apt update
44
RUN apt install -y python3-pip
5-
RUN pip3 install poetry
5+
RUN pip3 install --upgrade pip poetry
6+
# ^ pip: https://github.com/python-poetry/poetry/issues/5104
67

78
WORKDIR /opt/src/scheduler-profilers
89

910
COPY poetry.lock .
1011
COPY pyproject.toml .
1112

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
1314

1415
COPY scheduler_profilers /opt/src/scheduler-profilers/scheduler_profilers
1516
RUN pip3 install --no-deps .

0 commit comments

Comments
 (0)