Spaces:
Runtime error
Runtime error
Download docker/Dockerfile from lignedefuite/risu: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/spaces/lignedefuite/risu/resolve/main/docker/Dockerfile
- Command line
-
hf download hf://spaces/lignedefuite/risu/docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/lignedefuite/risu/resolve/main/docker/Dockerfile
356 Bytes
| FROM node:19.1.0-alpine3.16 | |
| ARG ROOT=/RisuAI | |
| ARG VERSION=v124.1.0 | |
| WORKDIR ${ROOT} | |
| RUN apk add --no-cache git && \ | |
| git clone --depth 1 --branch ${VERSION} https://github.com/kwaroran/RisuAI.git . && \ | |
| npm ci && \ | |
| npm run build && \ | |
| npm prune --production && \ | |
| rm -rf .git | |
| ENTRYPOINT [ "/bin/sh", "-c", "npm run runserver" ] |