Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
phact committed Jan 7, 2025
1 parent a71ee34 commit 8767d0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ COPY pyproject.toml poetry.lock* ./
RUN poetry config virtualenvs.create false

# Install the dependencies specified in `pyproject.toml` and `poetry.lock`.
# Use `--no-root` to avoid installing the main package and `--no-dev` to exclude development dependencies.
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

# Copy the rest of your application files into the container
COPY ./openapi_server ./openapi_server
Expand Down

0 comments on commit 8767d0d

Please sign in to comment.