We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a71ee34 commit 8767d0dCopy full SHA for 8767d0d
Dockerfile
@@ -24,8 +24,8 @@ COPY pyproject.toml poetry.lock* ./
24
RUN poetry config virtualenvs.create false
25
26
# 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
+# Use `--no-root` to avoid installing the main package and `--only main` to exclude development dependencies.
+RUN poetry install --no-root --only main
29
30
# Copy the rest of your application files into the container
31
COPY ./openapi_server ./openapi_server
0 commit comments