Skip to content

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Dec 26, 2024
1 parent 6c823e8 commit 96b066d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Based on recommendations from
# https://snyk.io/blog/best-practices-containerizing-python-docker/
FROM python:3.12-slim as build
FROM python:3.14.0a3-slim as build

WORKDIR /app

Expand All @@ -17,7 +17,7 @@ COPY . .
RUN --mount=source=.git,target=.git,type=bind
RUN pip install .

FROM python:3.12-slim
FROM python:3.14.0a3-slim
WORKDIR /app
COPY --from=build /app/venv /app/venv
ENV PATH="/app/venv/bin:$PATH"
Expand Down

0 comments on commit 96b066d

Please sign in to comment.