zheng1590 commited on
Commit
035d6d4
·
verified ·
1 Parent(s): 0da97df

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the pre-built image
2
+ FROM ghcr.io/xerxes-2/clewdr:latest
3
+
4
+ # Set environment variables for Hugging Face deployment
5
+ # Use PORT env var from Hugging Face or default to 7860
6
+ ENV CLEWDR_IP=0.0.0.0
7
+ ENV CLEWDR_PORT=${PORT:-7860}
8
+
9
+ # Expose the port that Hugging Face expects
10
+ EXPOSE ${PORT:-7860}