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 Oct 14, 2024
1 parent d77ad13 commit f762afb
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 @@ -10,7 +10,7 @@ COPY cozify_exporter ./cozify_exporter
COPY poetry.lock pyproject.toml ./
RUN poetry build -f wheel

FROM python:3.11-slim-bullseye
FROM python:3.12.7-slim-bullseye
WORKDIR /srv
COPY --from=builder /build/dist/*.whl ./
RUN pip install *.whl
Expand Down

0 comments on commit f762afb

Please sign in to comment.