Spaces:
Paused
Paused
Download Dockerfile from longxingdeng/GetMerlin2API: direct link, hf CLI and curl.
- Browser
- Download file 255 Bytes
-
https://huggingface.co/spaces/longxingdeng/GetMerlin2API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/longxingdeng/GetMerlin2API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/longxingdeng/GetMerlin2API/resolve/main/Dockerfile
255 Bytes
| FROM golang:1.23-bullseye | |
| WORKDIR /app | |
| ENV UUID="0e0946d8-cb6c-46ba-a554-049075d20a86" | |
| 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"] |