🔧 chore(base.Dockerfile): update poetry install command to exclude dev dependencies and include deploy dependencies for production deployment

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-08-13 23:45:59 -03:00
commit 4bf4768ca7

View file

@ -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
poetry install --without dev --with deploy
################################