Tonic commited on
Commit
7da24d6
·
unverified ·
1 Parent(s): 69db56c

fix port number compatibility

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -30,10 +30,10 @@ RUN mkdir -p /app/data
30
 
31
  # Set environment variables
32
  ENV PYTHONUNBUFFERED=1
33
- ENV PORT=8000
34
 
35
  # Expose the port the app runs on
36
- EXPOSE 8000
37
 
38
  # Command to run the application
39
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
30
 
31
  # Set environment variables
32
  ENV PYTHONUNBUFFERED=1
33
+ ENV PORT=7860
34
 
35
  # Expose the port the app runs on
36
+ EXPOSE 7860
37
 
38
  # Command to run the application
39
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]