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"]