From 2c969844909a91f98a15f3562d9161645d14be7c Mon Sep 17 00:00:00 2001 From: coward Date: Wed, 21 Aug 2024 09:22:58 +0800 Subject: [PATCH] :whale: --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 28035b2..1f84c90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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