rodrigomasini commited on
Commit
cd9e373
·
verified ·
1 Parent(s): d4ccf03

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -45,9 +45,10 @@ RUN mkdir -p ${MDR_MODEL_DIR} /app/temp_uploads /app/.cache/matplotlib /app/.con
45
  # --- END MODIFIED ---
46
 
47
  # Expose the port the app runs on
48
- EXPOSE 8000
 
49
 
50
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
51
 
52
 
53
  # This allows mounting a host directory for persistent models
 
45
  # --- END MODIFIED ---
46
 
47
  # Expose the port the app runs on
48
+ ENV PORT 7860
49
+ EXPOSE 7860
50
 
51
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
52
 
53
 
54
  # This allows mounting a host directory for persistent models