Download Dockerfile from Neon-AI/anime-api: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/spaces/Neon-AI/anime-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Neon-AI/anime-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Neon-AI/anime-api/resolve/main/Dockerfile
404 Bytes
| FROM node:20-slim | |
| RUN apt-get update && \ | |
| apt-get install -y git ffmpeg ca-certificates && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN rm -rf /app/* || true | |
| ARG CACHEBUST=1 | |
| RUN --mount=type=secret,id=GH_TOKEN \ | |
| git clone --depth=1 https://$(cat /run/secrets/GH_TOKEN)@github.com/IMaduwike/nt-anime-api.git . && \ | |
| rm -rf .git | |
| RUN npm install | |
| EXPOSE 7860 | |
| CMD ["node", "index.js"] |