From 824c28d7daa912673800108746a68614c0684f21 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 26 Apr 2024 15:59:38 +0000 Subject: [PATCH] Pin dependencies Signed-off-by: Mend Renovate --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f311751..b3238f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # This Dockerfile is based on the pattern recommended by the pipenv docs: # https://pipenv.pypa.io/en/latest/docker.html -FROM python:3.12 as builder +FROM python:3.12@sha256:f78ea8a345769eb3aa1c86cf147dfd68f1a4508ed56f9d7574e4687b02f44dd1 as builder RUN pip install --no-cache-dir pipenv==2023.12.1 ENV PIPENV_VENV_IN_PROJECT=1 @@ -11,7 +11,7 @@ RUN pipenv --no-site-packages install -v --deploy ############################################################ -FROM python:3.12-slim as final +FROM python:3.12-slim@sha256:2be8daddbb82756f7d1f2c7ece706aadcb284bf6ab6d769ea695cc3ed6016743 as final WORKDIR /app COPY --from=builder /app/.venv /app/.venv