Download Dockerfile from Norsec93/DaSong: direct link, hf CLI and curl.
- Browser
- Download file 468 Bytes
-
https://huggingface.co/spaces/Norsec93/DaSong/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Norsec93/DaSong/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Norsec93/DaSong/resolve/main/Dockerfile
468 Bytes
| FROM ghcr.io/sillytavern/sillytavern:latest | |
| USER root | |
| RUN apk add --no-cache python3 py3-pip \ | |
| && pip install --no-cache-dir --break-system-packages huggingface_hub \ | |
| && mkdir -p /home/node/app/data /home/node/app/config \ | |
| && chown -R node:node /home/node/app/data /home/node/app/config | |
| COPY --chown=node:node run.py /home/node/app/run.py | |
| USER node | |
| WORKDIR /home/node/app | |
| ENV NODE_ENV=production | |
| EXPOSE 7860 | |
| ENTRYPOINT [] | |
| CMD ["python3", "/home/node/app/run.py"] | |