Skip to content

Commit 8915485

Browse files
committed
Update poetry install --no-dev flag
1 parent a4835f0 commit 8915485

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci-pipeline.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- run: docker build --target test --tag backend:test ./backend/
10+
- run: docker build --target test --tag backend:test ./backend
1111
- run: docker run --env-file backend/.env backend:test

backend/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ COPY pyproject.toml .
1313
COPY gunicorn.conf.py .
1414
RUN python -m venv venv
1515

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

1818
EXPOSE 5000
1919

0 commit comments

Comments
 (0)