Skip to content

Commit

Permalink
fix: Dockerfile.server to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Oct 15, 2024
1 parent 331d4b9 commit 3f8aa92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.server
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Export packages from poetry and save
# to venv to avoid building them later
FROM python:3.10-slim-bullseye as deps
FROM python:3.12.7-slim-bullseye as deps
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
Expand All @@ -10,7 +10,7 @@ RUN poetry export --without-hashes -o requirements.txt
RUN pip install -r requirements.txt

# Python Protobuf Server
FROM python:3.10-slim-bullseye as server
FROM python:3.12.7-slim-bullseye as server
WORKDIR /app
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
Expand Down

0 comments on commit 3f8aa92

Please sign in to comment.