AIencoder commited on
Commit
7c048c0
·
verified ·
1 Parent(s): e0e1f07

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,4 +1,5 @@
1
- # Use Python 3.10 for compatibility
 
2
  FROM python:3.11-slim
3
 
4
  # Set working directory
@@ -49,5 +50,8 @@ COPY . /app
49
  # Expose port
50
  EXPOSE 7860
51
 
 
 
 
52
  # Run the application
53
  CMD ["python", "app.py"]
 
1
+ # Force rebuild 1
2
+ # Use Python 3.11 for compatibility (Matches your wheels)
3
  FROM python:3.11-slim
4
 
5
  # Set working directory
 
50
  # Expose port
51
  EXPOSE 7860
52
 
53
+ # --- CRITICAL FIX: Run the entrypoint script first ---
54
+ ENTRYPOINT ["/entrypoint.sh"]
55
+
56
  # Run the application
57
  CMD ["python", "app.py"]