Fix: REACT_APP_VERSION Build-Argument für Nightly Badge im Header

This commit is contained in:
vibe-bot 2025-08-09 02:27:35 +02:00
parent 8ae88be5e6
commit 136312467d
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,9 @@ WORKDIR /app/web
COPY web/package*.json ./
RUN npm install --no-audit --no-fund
COPY web/ .
# Umgebungsvariable für React Build verfügbar machen
ARG REACT_APP_VERSION=stable
ENV REACT_APP_VERSION=$REACT_APP_VERSION
RUN npm run build
# --- Build server (npm) ---