Skip to content

Commit

Permalink
Fixed Dockerfile dependencies installation
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliypopel committed Oct 27, 2024
1 parent 1dda979 commit bcd3ca3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
RUN mkdir /app
WORKDIR /app

# Copying poetry.lock to app directory
COPY poetry.lock /app/
# Copy the pyproject.toml and poetry.lock files into container's /app/ directory
COPY pyproject.toml poetry.lock /app/

# Install dependencies from the poetry.lock file
RUN poetry install --no-dev --no-interaction --no-root

# Copy the rest of the application code
ADD . /app
Expand Down

0 comments on commit bcd3ca3

Please sign in to comment.