mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-17 07:56:38 +08:00
update Dockerfile
Signed-off-by: wozulong <>
This commit is contained in:
parent
d43a65bc52
commit
e4c01cb9ae
@ -2,10 +2,10 @@ FROM node:16 as builder
|
||||
|
||||
WORKDIR /build
|
||||
COPY web/package.json .
|
||||
RUN npm install
|
||||
RUN yarn install
|
||||
COPY ./web .
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user