From 798f95d3393bc4b6e353109574b7a21467ead964 Mon Sep 17 00:00:00 2001 From: Clivia <132346501+Yanyutin753@users.noreply.github.com> Date: Sat, 17 Feb 2024 14:48:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfiles/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfiles/Dockerfile b/Dockerfiles/Dockerfile index f30100e..6a5104a 100644 --- a/Dockerfiles/Dockerfile +++ b/Dockerfiles/Dockerfile @@ -13,16 +13,16 @@ RUN chmod +x mvnw && \ rm -rf /root/.m2 # Use Distroless as base image -FROM container-registry.oracle.com/os/oraclelinux:8-slim +FROM alpine:latest RUN apk update \ && apk upgrade \ && apk add --no-cache tzdata # Copy the native executable into the containers -COPY --from=builder /build/target/gpt-4-copilot /app +COPY --from=builder /build/target/gpt-4-copilot /config/gpt-4-copilot # Set the entrypoint -ENTRYPOINT ["/app"] +ENTRYPOINT ["/config/gpt-4-copilot"]