Skip to content

Commit

Permalink
Avoid using glob pattern to fix a security hotspot
Browse files Browse the repository at this point in the history
  • Loading branch information
IbraheemTuffaha committed Jul 13, 2024
1 parent cc7a03e commit d42df69
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 @@ -2,7 +2,7 @@ FROM python:3.12 AS build

WORKDIR /tmp
RUN pip install poetry
COPY ./pyproject.toml ./poetry.lock* /tmp/
COPY ./pyproject.toml ./poetry.lock /tmp/
RUN poetry export -f requirements.txt --output requirements.txt --without-hashes

FROM python:3.12-slim
Expand Down

0 comments on commit d42df69

Please sign in to comment.