From 8d606acdc8a5f6634194b061dba1207d9c322233 Mon Sep 17 00:00:00 2001 From: Maribelle Hannah Gomez Date: Fri, 1 Nov 2024 11:58:38 -0500 Subject: [PATCH] update poetry install cmd --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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