From 9611b35950963fbb7fb8071ba3520b30899e58be Mon Sep 17 00:00:00 2001 From: coward Date: Wed, 8 May 2024 14:59:40 +0800 Subject: [PATCH] :whale: --- Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index fad9d7c..1800ae5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,9 +15,12 @@ RUN ls -lh && chmod +x ./app FROM alpine -COPY --from=build /build/app /bin -COPY --from=build /build/template/* /template/ +WORKDIR /app +WORKDIR db -RUN ls -al /bin/ | grep 'app' +COPY --from=build /build/app /app +COPY --from=build /build/template/* /app/template/ -ENTRYPOINT ["/bin/app"] \ No newline at end of file +RUN ls -al /app/ | grep 'app' + +ENTRYPOINT ["/app/app"] \ No newline at end of file