Mohansai2004 commited on
Commit
4bbb0cb
·
1 Parent(s): 3df481e

fixed docker port

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -39,7 +39,7 @@ EXPOSE 8000
39
 
40
  # Healthcheck for uvicorn
41
  HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
42
- CMD curl --fail http://localhost:8000 || exit 1
43
 
44
  # Start the app
45
- CMD ["uvicorn", "app.app:app", "--host", "0.0.0.0", "--port", "8000"]
 
39
 
40
  # Healthcheck for uvicorn
41
  HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
42
+ CMD curl --fail http://localhost:7860 || exit 1
43
 
44
  # Start the app
45
+ CMD ["uvicorn", "app.app:app", "--host", "0.0.0.0", "--port", "7860"]