This commit is contained in:
parent
021f3a44ba
commit
4051d01348
@ -1,5 +1,8 @@
|
||||
FROM node:18-alpine as build-stage
|
||||
|
||||
WORKDIR front
|
||||
COPY . .
|
||||
|
||||
RUN cd ./web-src
|
||||
RUN corepack enable
|
||||
RUN corepack prepare pnpm@8.6.10 --activate
|
||||
@ -15,7 +18,7 @@ RUN apk add upx
|
||||
WORKDIR /build
|
||||
|
||||
COPY . .
|
||||
COPY --from=build-stage /web /web
|
||||
COPY --from=build-stage /front/web /web
|
||||
# sqlite必须
|
||||
ENV GO111MODULE=on
|
||||
ENV GOPROXY=https://goproxy.cn,direct
|
||||
|
Loading…
Reference in New Issue
Block a user