Spaces:
Paused
Paused
Download Dockerfile from playingapi/GetMerlin2Api: direct link, hf CLI and curl.
- Browser
- Download file 255 Bytes
-
https://huggingface.co/spaces/playingapi/GetMerlin2Api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/playingapi/GetMerlin2Api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/playingapi/GetMerlin2Api/resolve/main/Dockerfile
255 Bytes
| FROM golang:1.23-bullseye | |
| WORKDIR /app | |
| ENV UUID="b7112e3b-8f56-446f-9913-8fe67e1649e1" | |
| 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"] |