diff --git a/roles/python/files/fastapi/Dockerfile b/roles/python/files/fastapi/Dockerfile index 5db13b73..2fccb691 100644 --- a/roles/python/files/fastapi/Dockerfile +++ b/roles/python/files/fastapi/Dockerfile @@ -1,4 +1,4 @@ -FROM python:slim@sha256:36b544be6e796eb5caa0bf1ab75a17d2e20211cad7f66f04f6f5c9eeda930ef5 +FROM python:slim@sha256:58ae46e33898d24d1b5a25260f5890f3f27979f4a3377171e018d1868cf2d87c ENV VIRTUAL_ENV=/opt/venv RUN python3 -m venv $VIRTUAL_ENV ENV PATH="$VIRTUAL_ENV/bin:$PATH" diff --git a/roles/python/files/flask/Dockerfile b/roles/python/files/flask/Dockerfile index a1f1dc9f..557f0d6b 100644 --- a/roles/python/files/flask/Dockerfile +++ b/roles/python/files/flask/Dockerfile @@ -1,4 +1,4 @@ -FROM python:slim@sha256:36b544be6e796eb5caa0bf1ab75a17d2e20211cad7f66f04f6f5c9eeda930ef5 +FROM python:slim@sha256:58ae46e33898d24d1b5a25260f5890f3f27979f4a3377171e018d1868cf2d87c ENV VIRTUAL_ENV=/opt/venv RUN python3 -m venv $VIRTUAL_ENV ENV PATH="$VIRTUAL_ENV/bin:$PATH"