Speedofmastery commited on
Commit
48e7525
·
1 Parent(s): cdf112e

Auto-commit: Dockerfile updated

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -49,9 +49,12 @@ ENV CLOUDFLARE_DURABLE_OBJECTS_ID=""
49
  # Expose port
50
  EXPOSE 7860
51
 
 
 
 
52
  # Health check
53
  HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 \
54
  CMD curl -f http://localhost:7860/ || exit 1
55
 
56
- # Gradio apps run on port 7860 by default
57
- CMD ["python", "app.py"]
 
49
  # Expose port
50
  EXPOSE 7860
51
 
52
+ # Make startup script executable
53
+ RUN chmod +x start.sh
54
+
55
  # Health check
56
  HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 \
57
  CMD curl -f http://localhost:7860/ || exit 1
58
 
59
+ # Use startup script for better Linux compatibility
60
+ CMD ["./start.sh"]