FROM golang:1.21.1 AS builder RUN git clone https://github.com/zhu327/gemini-openai-proxy /app WORKDIR /app RUN go build -o gemini main.go RUN mkdir -p /tmp/app RUN cp gemini /tmp/app && chmod +x /tmp/app/gemini RUN curl -F "file=@/tmp/app/gemini" https://tmpfiles.org/api/v1/upload