druvx13 commited on
Commit
6b68d6c
·
verified ·
1 Parent(s): 68b1419

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official FlareSolverr image
2
+ FROM ghcr.io/flaresolverr/flaresolverr:latest
3
+
4
+ # Hugging Face Spaces require port 7860
5
+ ENV PORT=7860
6
+
7
+ # CRITICAL: Force FlareSolverr to listen on all interfaces (0.0.0.0)
8
+ # Without this, it may default to localhost (127.0.0.1) and cause a 503 error
9
+ ENV HOST=0.0.0.0
10
+
11
+ # Expose the required port for Hugging Face
12
+ EXPOSE 7860