Skip to content

Commit

Permalink
Update poetry install --no-dev flag
Browse files Browse the repository at this point in the history
  • Loading branch information
CalPinSW committed May 30, 2024
1 parent a4835f0 commit 8915485
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: docker build --target test --tag backend:test ./backend/
- run: docker build --target test --tag backend:test ./backend
- run: docker run --env-file backend/.env backend:test
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ COPY pyproject.toml .
COPY gunicorn.conf.py .
RUN python -m venv venv

RUN ["poetry", "install", "--no-dev"]
RUN ["poetry", "install", "--only", "main"]

EXPOSE 5000

Expand Down

0 comments on commit 8915485

Please sign in to comment.