From 8f2599627b30959620646104b64a4207850c6d3d Mon Sep 17 00:00:00 2001 From: Chono N <49493993+Gyarbij@users.noreply.github.com> Date: Fri, 20 Dec 2024 13:04:44 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c851b26..8dd0673 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,15 +6,19 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o azure-oai-proxy . FROM debian:12.5-slim -RUN apt-get update && apt-get install -y ca-certificates openssh-client curl +RUN apt-get update && apt-get install -y ca-certificates openssh-client curl python3 +# Install the Google Cloud SDK RUN curl -sSL https://sdk.cloud.google.com | bash + +# Add the Google Cloud SDK bin directory to the PATH ENV PATH="$PATH:/root/google-cloud-sdk/bin" +# Copy the binary from the builder stage COPY --from=builder /build/azure-oai-proxy / # Set the working directory for the service account key WORKDIR /app EXPOSE 11437 -ENTRYPOINT ["/azure-oai-proxy"] \ No newline at end of file +ENTRYPOINT ["/azure-oai-proxy"]