mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 06:24:52 +03:00
Fix Python (django) Docker image version not being recognized after adding registry to image names
This commit is contained in:
parent
f60138b859
commit
4ac11b1e57
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user