From e80fe2a7a054297871e5b82ebb6cd8d38e8874f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AF=BB=E6=AC=A2?= Date: Thu, 30 Nov 2023 11:48:47 +0800 Subject: [PATCH] =?UTF-8?q?:whale:=20=E8=84=9A=E6=9C=AC=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d0f60e8..7ba4764 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY . . RUN go version RUN go mod download && go build -o app -RUN ls -lh && chmod +x ./app +RUN ls -lh && chmod -R +x ./* FROM code.hyxc1.com/open/alpine:3.16.0 as runner LABEL org.opencontainers.image.authors="lxh@cxh.cn" @@ -17,5 +17,5 @@ EXPOSE 8080 WORKDIR /app COPY --from=builder /builder/app ./app -COPY ./views ./views +COPY --from=builder /builder/views ./views CMD ./app \ No newline at end of file