From eea8aaa11201ccb35148cf7595a2d3a2c5ed6eb0 Mon Sep 17 00:00:00 2001 From: Clivia <132346501+Yanyutin753@users.noreply.github.com> Date: Sat, 17 Feb 2024 15:21:43 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfiles/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfiles/Dockerfile b/Dockerfiles/Dockerfile index 760eb62..ec401c1 100644 --- a/Dockerfiles/Dockerfile +++ b/Dockerfiles/Dockerfile @@ -15,13 +15,12 @@ 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 -# Copy the native executable into the containers - -COPY --from=builder /build/target/gpt-4-copilot /gpt-4-copilot - # Set the entrypoint ENTRYPOINT ["/gpt-4-copilot"]