From 33c076a64e172601f0bf815ff3dce2fb1653fdb8 Mon Sep 17 00:00:00 2001 From: Groosha Date: Tue, 10 May 2022 13:30:32 +0300 Subject: [PATCH] Switch to Debian 11 Docker image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e08ba76..aca898d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Separate build image -FROM python:3.9-slim-buster as compile-image +FROM python:3.9-slim-bullseye as compile-image RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" COPY requirements.txt . @@ -7,7 +7,7 @@ RUN pip install --no-cache-dir --upgrade pip \ && pip install --no-cache-dir -r requirements.txt # Final image -FROM python:3.9-slim-buster +FROM python:3.9-slim-bullseye COPY --from=compile-image /opt/venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" WORKDIR /app