🔧 chore(base.Dockerfile): update poetry install command to exclude dev dependencies and include deploy dependencies for production deployment
This commit is contained in:
parent
5f0c014dcb
commit
4bf4768ca7
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ COPY ./src/backend ./src/backend
|
||||||
COPY README.md .
|
COPY README.md .
|
||||||
# install runtime deps - uses $POETRY_VIRTUALENVS_IN_PROJECT internally
|
# install runtime deps - uses $POETRY_VIRTUALENVS_IN_PROJECT internally
|
||||||
RUN --mount=type=cache,target=/root/.cache \
|
RUN --mount=type=cache,target=/root/.cache \
|
||||||
poetry install --without=dev
|
poetry install --without dev --with deploy
|
||||||
|
|
||||||
|
|
||||||
################################
|
################################
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue