🐳
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
coward 2024-08-21 09:22:58 +08:00
parent 12e551b4e9
commit 2c96984490

View File

@ -10,6 +10,7 @@ RUN corepack prepare pnpm@8.6.10 --activate
RUN npm config set registry https://registry.npmmirror.com
RUN pnpm install
RUN pnpm build
RUN ls -lh && pwd
# 前后端集成打包
FROM golang:alpine as build-backend
@ -17,7 +18,7 @@ FROM golang:alpine as build-backend
RUN apk add upx
WORKDIR /build
COPY . .
COPY --from=build-front /front/dist/ /build/dist
COPY --from=build-front /front/web/dist/ /build/dist
# sqlite必须
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn,direct