Skip to content

Commit 8767d0d

Browse files
committed
fix dockerfile
1 parent a71ee34 commit 8767d0d

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
@@ -24,8 +24,8 @@ COPY pyproject.toml poetry.lock* ./
2424
RUN poetry config virtualenvs.create false
2525

2626
# Install the dependencies specified in `pyproject.toml` and `poetry.lock`.
27-
# Use `--no-root` to avoid installing the main package and `--no-dev` to exclude development dependencies.
28-
RUN poetry install --no-root --no-dev
27+
# Use `--no-root` to avoid installing the main package and `--only main` to exclude development dependencies.
28+
RUN poetry install --no-root --only main
2929

3030
# Copy the rest of your application files into the container
3131
COPY ./openapi_server ./openapi_server

0 commit comments

Comments
 (0)