diff --git a/production.Dockerfile b/production.Dockerfile index 00c8fa685e87d5..361bdd0763727d 100644 --- a/production.Dockerfile +++ b/production.Dockerfile @@ -139,7 +139,7 @@ RUN apt-get update && \ # --------------------------------------------------------- # -FROM unit:python3.11 as unit +FROM unit:python3.11 as unit-132-python-311 # copied from https://github.com/nginx/unit/blob/master/pkg/docker/Dockerfile.python3.11 LABEL org.opencontainers.image.title="Unit (python3.11)" @@ -233,7 +233,7 @@ CMD ["unitd", "--no-daemon", "--control", "unix:/var/run/control.unit.sock"] # # --------------------------------------------------------- # -FROM unit +FROM unit-132-python-311 WORKDIR /code SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"] ENV PYTHONUNBUFFERED 1