Fix Python (docs) Docker image version not being recognized after adding registry to image names

This commit is contained in:
GitBib 2024-03-06 14:21:58 +03:00
parent e582e7103d
commit f60138b859

View File

@ -3,7 +3,7 @@ FROM docker.io/python:3.11.8-slim-bookworm as python
# Python build stage # Python build stage
FROM docker.io/python as python-build-stage FROM python as python-build-stage
ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONDONTWRITEBYTECODE 1
@ -26,7 +26,7 @@ RUN pip wheel --no-cache-dir --wheel-dir /usr/src/app/wheels \
# Python 'run' stage # Python 'run' stage
FROM docker.io/python as python-run-stage FROM python as python-run-stage
ARG BUILD_ENVIRONMENT ARG BUILD_ENVIRONMENT
ENV PYTHONUNBUFFERED 1 ENV PYTHONUNBUFFERED 1