Skip to content

Commit

Permalink
Add docker lines
Browse files Browse the repository at this point in the history
  • Loading branch information
tuduun committed Mar 21, 2024
1 parent 6d33dd4 commit 4250ad7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends gcc libpq-dev &

# Install Poetry, configure it to not create a virtual environment
# and install the project dependencies
RUN pip install --upgrade pip && \
pip install poetry && \
poetry config virtualenvs.create false && \
poetry install --no-dev --no-interaction --no-ansi
RUN pip install --upgrade pip
RUN pip install poetry
RUN poetry config virtualenvs.create false
RUN poetry install --only main --no-interaction --no-ansi


# Copy the rest of your app's source code from your host to your image filesystem.
# Assuming your source code is in the src/ directory in your project
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4250ad7

Please sign in to comment.