Skip to content

Commit ffa41c0

Browse files
committed
fix(docker): remove --without dev flag and fix FROM casing
The --without dev flag failed because no dev group exists in pyproject.toml. Also fix 'as' to 'AS' for Dockerfile best practice.
1 parent 3c43725 commit ffa41c0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
FROM python:3.12.1 as builder
1+
FROM python:3.12.1 AS builder
22

33
WORKDIR /usr/src/app
44

55
RUN pip install poetry
66

77
COPY pyproject.toml poetry.lock ./
88

9-
RUN poetry config virtualenvs.in-project true && poetry install --without dev --no-interaction
9+
RUN poetry config virtualenvs.in-project true && \
10+
poetry install --no-interaction
1011

1112
FROM python:3.12.1-slim
1213

0 commit comments

Comments
 (0)