diff --git a/Dockerfile b/Dockerfile index 004f7c6..b1024c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,11 @@ ARG BUILD_DATE # ============================================ FROM python:${PYTHON_VERSION}-slim as builder +# Re-declare ARGs for this stage +ARG NODE_VERSION=20 +ARG VERSION=latest +ARG BUILD_DATE + LABEL maintainer="Peikarband Team " LABEL org.opencontainers.image.title="Peikarband Landing" LABEL org.opencontainers.image.description="Peikarband hosting platform landing page" @@ -59,9 +64,12 @@ RUN find /build -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || tru # ============================================ FROM python:${PYTHON_VERSION}-slim -# Build info -ARG VERSION +# Re-declare ARGs for this stage +ARG PYTHON_VERSION=3.11 +ARG VERSION=latest ARG BUILD_DATE + +# Build info ENV VERSION=${VERSION} \ BUILD_DATE=${BUILD_DATE}