Spaces:
Running
Running
Download Dockerfile from tkgray/Open-WebUI: direct link, hf CLI and curl.
- Browser
- Download file 454 Bytes
-
https://huggingface.co/spaces/tkgray/Open-WebUI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/tkgray/Open-WebUI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/tkgray/Open-WebUI/resolve/main/Dockerfile
454 Bytes
| FROM ghcr.io/open-webui/open-webui:main | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| RUN rm -rf /app/backend/data && ln -s /data /app/backend/data | |
| # Backup + restore (db + vector store + uploads) to a private HF dataset repo | |
| COPY backup.py /backup.py | |
| COPY restore.py /restore.py | |
| COPY backup.sh /backup.sh | |
| COPY restore.sh /restore.sh | |
| COPY start-with-backup.sh /start-with-backup.sh | |
| RUN chmod +x /backup.sh /restore.sh /start-with-backup.sh | |
| CMD ["/start-with-backup.sh"] | |