Melika Kheirieh commited on
Commit
86e434f
·
1 Parent(s): 7e5facf

fix(docker): override base ENTRYPOINT to run start.py (enable Gradio UI)

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -52,7 +52,4 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=10s --retries=3 \
52
  # Hugging Face Spaces expect public app on port 7860
53
  ENV PORT=7860
54
  EXPOSE 7860
55
-
56
- RUN echo "==== DEBUG LISTING /app ====" && ls -R /app
57
- # Unified startup script
58
- CMD ["python", "start.py"]
 
52
  # Hugging Face Spaces expect public app on port 7860
53
  ENV PORT=7860
54
  EXPOSE 7860
55
+ ENTRYPOINT ["python", "-u", "start.py"]