Spaces:
Runtime error
Runtime error
Download Dockerfile from hugging2021/ragtag4: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/spaces/hugging2021/ragtag4/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/hugging2021/ragtag4/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/hugging2021/ragtag4/resolve/main/Dockerfile
277 Bytes
| # golang image and setup for the gin server | |
| FROM golang:1.24.1 | |
| # Set the working directory in the container | |
| WORKDIR /app | |
| # Copy the current directory contents into the container at /app | |
| COPY . /app | |
| RUN go mod download | |
| RUN go build -o ragtag | |
| EXPOSE 8080 | |
| CMD ["./ragtag"] | |