mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-12 03:13:41 +08:00
feat: move to vite for faster builld
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user