Skip to content

Commit

Permalink
Merge pull request #73 from zooniverse/poetry-fix
Browse files Browse the repository at this point in the history
fix poetry --dev command failing on staging build
  • Loading branch information
Tooyosi authored Jan 7, 2025
2 parents 3189529 + 4f9eee2 commit 65a73e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ COPY . .
# Allow installing dev dependencies to run tests
ARG INSTALL_DEV=false

RUN if [ "${INSTALL_DEV}" = 'true' ]; then poetry install; else poetry install --no-dev; fi
RUN if [ "${INSTALL_DEV}" = 'true' ]; then poetry install; else poetry install --only main; fi

# start the api
CMD ["poetry", "run", "start"]

0 comments on commit 65a73e5

Please sign in to comment.