bitsnaps commited on
Commit
055733d
·
verified ·
1 Parent(s): 582a20f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -22,10 +22,10 @@ RUN mkdir -p uploads
22
  # Set environment variables
23
  ENV PYTHONDONTWRITEBYTECODE=1
24
  ENV PYTHONUNBUFFERED=1
25
- ENV PORT=8000
26
 
27
  # Expose the port the app runs on
28
- EXPOSE 8000
29
 
30
  # Command to run the application using uvicorn directly
31
  CMD gunicorn main:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:$PORT
 
22
  # Set environment variables
23
  ENV PYTHONDONTWRITEBYTECODE=1
24
  ENV PYTHONUNBUFFERED=1
25
+ ENV PORT=7860
26
 
27
  # Expose the port the app runs on
28
+ EXPOSE 7860
29
 
30
  # Command to run the application using uvicorn directly
31
  CMD gunicorn main:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:$PORT