This commit is contained in:
parent
77089856ef
commit
87fcb213dc
@ -11,7 +11,7 @@ RUN npm config set registry https://registry.npmmirror.com
|
|||||||
RUN pnpm install
|
RUN pnpm install
|
||||||
|
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
RUN cd ../web && ls -lh
|
RUN cd ../web && ls -lh && pwd
|
||||||
|
|
||||||
FROM golang:alpine as build
|
FROM golang:alpine as build
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ WORKDIR /build
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=build-stage /front/web/ /web
|
COPY --from=build-stage /front/web/ /web
|
||||||
RUN cd ./web && ls -al
|
RUN cd ./web && ls -lh
|
||||||
RUN cd ..
|
RUN cd ..
|
||||||
# sqlite必须
|
# sqlite必须
|
||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
|
Loading…
Reference in New Issue
Block a user