update Dockerfile

This commit is contained in:
CaIon 2024-03-23 19:18:28 +08:00
parent 93be61aaf3
commit f823b4d4d8
2 changed files with 1 additions and 3 deletions

View File

@ -5,7 +5,7 @@ COPY web/package.json .
RUN npm install
COPY ./web .
COPY ./VERSION .
RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
RUN DISABLE_ESLINT_PLUGIN='true' VITE_REACT_APP_VERSION=$(cat VERSION) npm run build
FROM golang AS builder2

View File

@ -1,2 +0,0 @@
VITE_REACT_APP_SERVER_URL=
VITE_REACT_APP_VERSION=