From c2ec95fbb7d54a58463d2a9aa920d7a86b937baa Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 16 Aug 2023 15:40:54 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(base.Dockerfile):=20change?= =?UTF-8?q?=20`--with=20deploy`=20to=20`--extras=20deploy`=20in=20poetry?= =?UTF-8?q?=20install=20command=20to=20correctly=20install=20deploy=20extr?= =?UTF-8?q?as?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base.Dockerfile b/base.Dockerfile index 2306f7bf6..632a0fb46 100644 --- a/base.Dockerfile +++ b/base.Dockerfile @@ -68,7 +68,7 @@ COPY ./src/backend ./src/backend COPY README.md . # install runtime deps - uses $POETRY_VIRTUALENVS_IN_PROJECT internally RUN --mount=type=cache,target=/root/.cache \ - poetry install --without dev --with deploy + poetry install --without dev --extras deploy ################################ @@ -84,4 +84,4 @@ COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH # quicker install as runtime deps are already installed RUN --mount=type=cache,target=/root/.cache \ - poetry install --with=dev + poetry install --with=dev --extras deploy