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