Fix: REACT_APP_VERSION Build-Argument für Nightly Badge im Header
This commit is contained in:
parent
8ae88be5e6
commit
136312467d
2 changed files with 5 additions and 0 deletions
|
|
@ -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) ---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue