Skip to content

Commit f5234c7

Browse files
committed
fix: correct Poetry install command to use '--without dev' option
1 parent c70a37f commit f5234c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ RUN pip install poetry
2323
COPY pyproject.toml poetry.lock ./
2424

2525
# Install project dependencies using Poetry
26-
# --no-dev: Excludes development dependencies (like pytest)
26+
# --without dev: Excludes development dependencies (like pytest)
2727
# --no-root: Do not install the project package itself, only its dependencies.
2828
# The project source code will be copied in a later step.
2929
# --no-interaction: Do not ask any interactive questions
3030
# --no-ansi: Disable ANSI output
3131
# Gunicorn will be installed as part of project dependencies if added to pyproject.toml
32-
RUN poetry install --no-dev --no-root --no-interaction --no-ansi
32+
RUN poetry install --without dev --no-root --no-interaction --no-ansi
3333

3434
# Copy the rest of the application code into the container
3535
COPY . .

0 commit comments

Comments
 (0)