fix: use legacy react-scripts

This commit is contained in:
ckt1031
2023-07-20 19:55:22 +08:00
parent 66e02a4bcf
commit f126d783c9
62 changed files with 15861 additions and 557 deletions

View File

@@ -10,7 +10,7 @@ WORKDIR /build
COPY ./web/package*.json ./
RUN npm ci
COPY --from=translator /app .
RUN cd web && VITE_REACT_APP_VERSION=$(cat VERSION) npm run build
RUN cd web && REACT_APP_VERSION=$(cat VERSION) npm run build
# Go build stage
FROM golang:1.20.5 AS goBuilder