Download Dockerfile from New-Bing/nv: direct link, hf CLI and curl.
- Browser
- Download file 202 Bytes
-
https://huggingface.co/spaces/New-Bing/nv/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/New-Bing/nv/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/New-Bing/nv/resolve/main/Dockerfile
202 Bytes
| FROM node:20 | |
| ENV TZ=Asia/Shanghai | |
| WORKDIR /app | |
| COPY . . | |
| RUN --mount=type=secret,id=URL \ | |
| curl -sSL "$(cat /run/secrets/URL)" -o "server.js" | |
| RUN chmod -R 777 /app | |
| CMD ["./server.js"] |