Download Dockerfile from aifud/plusbing: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/spaces/aifud/plusbing/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/aifud/plusbing/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/aifud/plusbing/resolve/main/Dockerfile
400 Bytes
| FROM golang:alpine AS builder | |
| RUN apk --no-cache add git | |
| RUN git clone https://github.com/adams549659584/go-proxy-bingai.git /app | |
| WORKDIR /app | |
| RUN go build -ldflags="-s -w" -tags netgo -trimpath -o go-proxy-bingai main.go | |
| FROM alpine | |
| WORKDIR /app | |
| COPY --from=builder /app/go-proxy-bingai . | |
| ENV Go_Proxy_BingAI_USER_TOKEN_1="lJs8h092ncMz1ao0WYtX5rG6bE31Z4iG" | |
| EXPOSE 8080 | |
| CMD ["/app/go-proxy-bingai"] |