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
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:
12
Dockerfile
12
Dockerfile
@@ -12,6 +12,11 @@ ARG BUILD_DATE
|
|||||||
# ============================================
|
# ============================================
|
||||||
FROM python:${PYTHON_VERSION}-slim as builder
|
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 maintainer="Peikarband Team <dev@peikarband.ir>"
|
||||||
LABEL org.opencontainers.image.title="Peikarband Landing"
|
LABEL org.opencontainers.image.title="Peikarband Landing"
|
||||||
LABEL org.opencontainers.image.description="Peikarband hosting platform landing page"
|
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
|
FROM python:${PYTHON_VERSION}-slim
|
||||||
|
|
||||||
# Build info
|
# Re-declare ARGs for this stage
|
||||||
ARG VERSION
|
ARG PYTHON_VERSION=3.11
|
||||||
|
ARG VERSION=latest
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
|
||||||
|
# Build info
|
||||||
ENV VERSION=${VERSION} \
|
ENV VERSION=${VERSION} \
|
||||||
BUILD_DATE=${BUILD_DATE}
|
BUILD_DATE=${BUILD_DATE}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user