Skip to content

Commit

Permalink
ci: fix security issues in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Sep 29, 2024
1 parent 4f88752 commit 82beb95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM python:3.12-slim
RUN apt-get update && apt-get install -y curl

# Installing Poetry using curl
RUN curl -sSL https://install.python-poetry.org | python3 -
RUN curl -sS https://install.python-poetry.org | python3 -

#Adding Poetry to the PATH
ENV PATH="/root/.local/bin:$PATH"
Expand All @@ -17,8 +17,8 @@ RUN chmod 777 /app

WORKDIR /app

#we install the dependencies specified in py project.tom l, excluding dev dependencies.
RUN poetry install
#we install the dependencies specified in py project.toml, excluding dev dependencies.
RUN poetry install --no-interaction

COPY . /app

Expand Down

0 comments on commit 82beb95

Please sign in to comment.