File size: 412 Bytes
9826bb8 2c75314 9826bb8 3b040ec b158c90 9826bb8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | FROM golang:1.21 AS builder
ENV CGO_ENABLED=0
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/renqabs/aa.git /app
WORKDIR /app
RUN go mod download
RUN go build -o /app/aurora .
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/aurora /app/aurora
COPY --from=builder /app/harPool /app/harPool
ENV BASE_URL=https://www.openai-proxy.com/
EXPOSE 8080
CMD ["./aurora"] |