Moeblack commited on
Commit
e44d66d
·
verified ·
1 Parent(s): b91e63c

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ENV CLEWDR_NO_FS=TRUE
9
+
10
+ # Expose the port that Hugging Face expects
11
+ EXPOSE ${PORT:-7860}