Spaces:
Paused

backup / Dockerfile
ChatMarkus1's picture
Create Dockerfile
de72574 verified
Raw History Blame Contribute Delete
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"]