From 55632156bdcc1888df65d21e1539203082a53190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E4=BD=9C=E6=AC=A2?= Date: Fri, 3 Nov 2023 10:43:04 +0800 Subject: [PATCH] :whale: --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef8f544..ddd1323 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM golang as build -WORKDIR /app +WORKDIR /build COPY . . @@ -13,8 +13,6 @@ RUN go build -o app FROM alpine -WORKDIR /app +COPY --from=build /build/app /bin -COPY --from=build /app/app . - -ENTRYPOINT ["/app/app"] \ No newline at end of file +ENTRYPOINT ["/bin/app"] \ No newline at end of file