Che237 commited on
Commit
df0522f
·
verified ·
1 Parent(s): 882fe59

Update Dockerfile - add FastAPI REST endpoints + Gemini AI

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -34,5 +34,5 @@ COPY --chown=user . .
34
  # Expose port
35
  EXPOSE 7860
36
 
37
- # Run the application
38
- CMD ["python", "app.py"]
 
34
  # Expose port
35
  EXPOSE 7860
36
 
37
+ # Run the application via uvicorn (FastAPI + Gradio mounted)
38
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]