Skip to content

Commit fe8694a

Browse files
Fix Dockerfile to satisfy new version of poetry
1 parent 3e24096 commit fe8694a

File tree

3 files changed

+309
-275
lines changed

3 files changed

+309
-275
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
1111

1212
# Install dependencies
1313
WORKDIR /app
14+
1415
COPY poetry.lock pyproject.toml /app/
15-
RUN poetry config virtualenvs.create false --local && poetry install --no-interaction --no-ansi
1616

1717
COPY todo_app /app/todo_app
1818

19+
RUN poetry config virtualenvs.create false --local && poetry install --no-interaction --no-ansi
20+
1921
EXPOSE 8000
2022

2123
FROM base AS test

0 commit comments

Comments
 (0)