Skip to content

Commit

Permalink
Removed root project installation to fix Render deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
onecrayon committed Jan 21, 2024
1 parent a60723e commit 6ce5a13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ COPY ./poetry.lock ./pyproject.toml /code/

# Project initialization:
RUN echo "$ENV" \
&& poetry install \
&& poetry install --no-root --no-interaction --no-ansi \
$(if [ "$ENV" = 'production' ]; then echo '--only main'; fi) \
--no-interaction --no-ansi \
# Cleaning poetry installation's cache for production:
&& if [ "$ENV" = 'production' ]; then rm -rf "$POETRY_CACHE_DIR"; fi

Expand Down

0 comments on commit 6ce5a13

Please sign in to comment.