feat: move to vite for faster builld

This commit is contained in:
ckt1031
2023-07-15 21:41:23 +08:00
parent caabdd1e21
commit 4e94c85a9a
63 changed files with 411 additions and 16907 deletions

View File

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