From c7c91b11608deecd18cf88aa321bfc44a6586cd7 Mon Sep 17 00:00:00 2001 From: Antonio Cheong Date: Wed, 12 Apr 2023 11:29:45 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e2d7f1f..9593fea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN go mod download COPY . . # Build the Go application and output the binary to /app/ChatGPT-Proxy-V4 -RUN go build -o /app/ChatGPT-Proxy-V4 . +RUN go build -o /app/ChatGPT-To-API . # Use a scratch image as the final distroless image FROM scratch @@ -27,10 +27,10 @@ FROM scratch WORKDIR /app # Copy the built Go binary from the builder stage -COPY --from=builder /app/ChatGPT-Proxy-V4 /app/ChatGPT-Proxy-V4 +COPY --from=builder /app/ChatGPT-To-API /app/ChatGPT-To-API # Expose the port where the application is running EXPOSE 8080 # Start the application -CMD [ "./ChatGPT-Proxy-V4" ] +CMD [ "./ChatGPT-To-API" ]