diff --git a/Dockerfile b/Dockerfile index f103e44f9..18d923c7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ WORKDIR /$appname # this will make sure than the dependencies is cached COPY poetry.lock pyproject.toml /$appname/ RUN poetry config virtualenvs.create false \ - && poetry install -vv --no-root --no-dev --no-interaction \ + && poetry install -vv --no-root --without dev --no-interaction \ && poetry show -v # copy source code ONLY after installing dependencies @@ -45,7 +45,7 @@ COPY clear_prometheus_multiproc /$appname/clear_prometheus_multiproc # install fence RUN poetry config virtualenvs.create false \ - && poetry install -vv --no-dev --no-interaction \ + && poetry install -vv --without dev --no-interaction \ && poetry show -v RUN COMMIT=`git rev-parse HEAD` && echo "COMMIT=\"${COMMIT}\"" >$appname/version_data.py \