Skip to content

Commit

Permalink
Merge branch 'vertex' of https://github.com/Gyarbij/azure-oai-proxy i…
Browse files Browse the repository at this point in the history
…nto vertex
  • Loading branch information
Gyarbij committed Dec 20, 2024
2 parents 2517eee + 8f25996 commit 4b3212a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
ENTRYPOINT ["/azure-oai-proxy"]

0 comments on commit 4b3212a

Please sign in to comment.