Spaces:
Paused
Paused
Download Dockerfile from TAisBUG/GetMerlin2Api: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/spaces/TAisBUG/GetMerlin2Api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/TAisBUG/GetMerlin2Api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/TAisBUG/GetMerlin2Api/resolve/main/Dockerfile
256 Bytes
| FROM golang:1.23-bullseye | |
| WORKDIR /app | |
| ENV UUID="65493e01-1ea1-7cba-ed4b-681ef54e7cd6" | |
| 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"] | |