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

This commit is contained in:
GitBib 2024-03-06 14:22:21 +03:00
parent f60138b859
commit 4ac11b1e57

View File

@ -28,7 +28,7 @@ RUN npm run build
FROM docker.io/python:3.11.8-slim-bookworm as python 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
ARG BUILD_ENVIRONMENT=production ARG BUILD_ENVIRONMENT=production
@ -48,7 +48,7 @@ RUN pip wheel --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=production ARG BUILD_ENVIRONMENT=production
ARG APP_HOME=/app ARG APP_HOME=/app