fixe Docker file
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / security (push) Has been cancelled

This commit is contained in:
Ehsan.Asadi
2025-12-30 15:20:49 +03:30
parent f24fa236e3
commit 32dc8e76c3

View File

@@ -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 <dev@peikarband.ir>"
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}