diff --git a/Dockerfile b/Dockerfile index d0f53fe..ee230d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,13 +18,13 @@ USER gen3 COPY poetry.lock pyproject.toml /${appname}/ -RUN poetry install -vv --only main --no-interaction +RUN poetry install -vv --without dev --no-interaction COPY --chown=gen3:gen3 . /$appname COPY --chown=gen3:gen3 ./deployment/wsgi/wsgi.py /$appname/wsgi.py # Run poetry again so this app itself gets installed too -RUN poetry install --only main --no-interaction +RUN poetry install --without dev --no-interaction RUN git config --global --add safe.directory /${appname} && COMMIT=`git rev-parse HEAD` && echo "COMMIT=\"${COMMIT}\"" > /$appname/version_data.py \ && VERSION=`git describe --always --tags` && echo "VERSION=\"${VERSION}\"" >> /$appname/version_data.py