Spaces:
Runtime error
Runtime error
Download Dockerfile from jianwei233/dev: direct link, hf CLI and curl.
- Browser
- Download file 255 Bytes
-
https://huggingface.co/spaces/jianwei233/dev/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jianwei233/dev/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jianwei233/dev/resolve/main/Dockerfile
255 Bytes
| FROM golang:1.23-bullseye | |
| WORKDIR /app | |
| ENV UUID="a9355cde-057d-4303-aa92-1b0dda362557" | |
| RUN mkdir -p /.cache && \ | |
| chmod -R 777 /.cache | |
| COPY api/ ./api/ | |
| COPY go.mod go.sum ./ | |
| RUN go mod download | |
| RUN uname -a | |
| EXPOSE 7860 | |
| CMD ["go", "run", "api/chat.go"] |