Skip to content

Commit

Permalink
update poetry install cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
MaribelleHGomez authored Nov 1, 2024
1 parent 641fffe commit 8d606ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d606ac

Please sign in to comment.