Spaces:
Paused

File size: 553 Bytes
de72574
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"]