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

@@ -5,7 +5,7 @@ COPY ./web/package*.json ./
RUN npm ci
COPY ./web .
COPY ./VERSION .
RUN REACT_APP_VERSION=$(cat VERSION) npm run build
RUN VITE_REACT_APP_VERSION=$(cat VERSION) npm run build
# Go build stage
FROM golang AS builder2