From 89154857ce12f70e9edb4958ce7c196f2b878bad Mon Sep 17 00:00:00 2001 From: Calum Pinder Date: Thu, 30 May 2024 08:52:14 +0100 Subject: [PATCH] Update poetry install --no-dev flag --- .github/workflows/ci-pipeline.yml | 2 +- backend/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index dc8fadf..20dd5aa 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -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 diff --git a/backend/Dockerfile b/backend/Dockerfile index e9823ba..570c19d 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -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