update Dockerfile

Signed-off-by: wozulong <>
This commit is contained in:
wozulong 2025-02-01 22:18:22 +08:00
parent d43a65bc52
commit e4c01cb9ae

View File

@ -2,10 +2,10 @@ FROM node:16 as builder
WORKDIR /build WORKDIR /build
COPY web/package.json . COPY web/package.json .
RUN npm install RUN yarn install
COPY ./web . COPY ./web .
COPY ./VERSION . COPY ./VERSION .
RUN DISABLE_ESLINT_PLUGIN='true' VITE_REACT_APP_VERSION=$(cat VERSION) npm run build RUN DISABLE_ESLINT_PLUGIN='true' VITE_REACT_APP_VERSION=$(cat VERSION) yarn build
FROM golang AS builder2 FROM golang AS builder2