From 1c561837f1a82e87bd7c1f7c0e4d2f3828eac87f Mon Sep 17 00:00:00 2001 From: Clivia <132346501+Yanyutin753@users.noreply.github.com> Date: Sat, 17 Feb 2024 15:23:39 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfiles/Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfiles/Dockerfile b/Dockerfiles/Dockerfile index ec401c1..858aa5a 100644 --- a/Dockerfiles/Dockerfile +++ b/Dockerfiles/Dockerfile @@ -15,12 +15,9 @@ RUN chmod +x mvnw && \ # Use Scratch as base image FROM scratch -# Copy the native executable into the containers -COPY --from=builder /build/target/gpt-4-copilot /gpt-4-copilot - # Copy the tzdata from builder image COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo -# Set the entrypoint -ENTRYPOINT ["/gpt-4-copilot"] - +# Copy the native executable into the containers +COPY --from=builder /build/target/gpt-4-copilot app +ENTRYPOINT ["/app"]