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