Download Dockerfile from Ditzzy/cdn: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/spaces/Ditzzy/cdn/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Ditzzy/cdn/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Ditzzy/cdn/resolve/main/Dockerfile
301 Bytes
| FROM golang:1.25-alpine | |
| RUN apk --no-cache add git ca-certificates | |
| WORKDIR /app | |
| RUN git clone https://github.com/OhMyDitzzy/uploader.git . | |
| RUN go mod download | |
| RUN CGO_ENABLED=0 GOOS=linux go build -o uploader . | |
| RUN mkdir -p /app/uploads && chmod 777 /app/uploads | |
| EXPOSE 7860 | |
| CMD ["./uploader"] |