fix: poetry install --without=dev

This commit is contained in:
francisco.schulz 2023-12-11 10:40:06 +01:00
parent f8ecef1054
commit 88fbe077e6
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ RUN poetry config virtualenvs.create false && \
poetry config http-basic.${POETRY_SOURCE_REF_RESEARCH} ${USERNAME} ${TOKEN} && \
poetry config repositories.${POETRY_SOURCE_REF_RED} ${PYPI_REGISTRY_RED} && \
poetry config http-basic.${POETRY_SOURCE_REF_RED} ${USERNAME} ${TOKEN} && \
poetry install --without=test -vv --no-interaction --no-root
poetry install --without=dev -vv --no-interaction --no-root
EXPOSE 5000
EXPOSE 8080

View File

@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.10
ARG USERNAME
ARG TOKEN
@ -30,7 +30,7 @@ RUN poetry config virtualenvs.create false && \
poetry config http-basic.${POETRY_SOURCE_REF_RESEARCH} ${USERNAME} ${TOKEN} && \
poetry config repositories.${POETRY_SOURCE_REF_RED} ${PYPI_REGISTRY_RED} && \
poetry config http-basic.${POETRY_SOURCE_REF_RED} ${USERNAME} ${TOKEN} && \
poetry install --without=test -vv --no-interaction --no-root
poetry install --without=dev -vv --no-interaction --no-root
EXPOSE 5000
EXPOSE 8080