Spaces:
Sleeping
Sleeping
Download Dockerfile from sarveshpatel/proxy: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/spaces/sarveshpatel/proxy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sarveshpatel/proxy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sarveshpatel/proxy/resolve/main/Dockerfile
242 Bytes
| FROM golang:1.22-alpine AS builder | |
| WORKDIR /app | |
| COPY go.mod go.sum ./ | |
| RUN go mod download | |
| COPY . . | |
| RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o server . | |
| FROM alpine:latest | |
| COPY --from=builder /app/server /server | |
| EXPOSE 7860 | |
| CMD ["/server"] |