Spaces:
Sleeping
Sleeping
Download Dockerfile from T1ckbase/susface-api: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/spaces/T1ckbase/susface-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/T1ckbase/susface-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/T1ckbase/susface-api/resolve/main/Dockerfile
298 Bytes
| FROM denoland/deno:latest | |
| EXPOSE 7860 | |
| WORKDIR /app | |
| # Prefer not to run as root. | |
| USER deno | |
| RUN deno install --entrypoint main.ts | |
| COPY . . | |
| # Compile the main app so that it doesn't need to be compiled each startup/entry. | |
| RUN deno cache main.ts | |
| CMD ["serve", "-A", "--port", "7860", "serve.ts"] |