Spaces:
Paused
Paused
Download Dockerfile from ChatMarkus1/backup: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/spaces/ChatMarkus1/backup/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ChatMarkus1/backup/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ChatMarkus1/backup/resolve/main/Dockerfile
553 Bytes
| FROM dockurr/windows | |
| # Force software emulation since KVM is missing on HF | |
| ENV KVM="N" | |
| # Use Windows 11 (it will download a 'Lite' version automatically) | |
| ENV VERSION="win11" | |
| # Allocate as much RAM as your Space tier allows (at least 4G) | |
| ENV RAM_SIZE="4G" | |
| ENV CPU_CORES="2" | |
| # Hugging Face looks for port 7860 | |
| EXPOSE 7860 | |
| # This maps the internal noVNC port (8006) to HF's port (7860) | |
| ENV PORT="7860" | |
| # Optional: Set a password for the Windows User | |
| ENV USERNAME="Admin" | |
| ENV PASSWORD="password123" | |
| ENTRYPOINT ["/usr/bin/tini", "--", "/run/entry.sh"] |