benjolo commited on
Commit
e7c9d80
1 Parent(s): 9de3c31

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -19,8 +19,8 @@ RUN pip install pydantic[email]
19
  # Make all files and folders readable, writable, executable
20
  # RUN chmod -R 777 ./
21
 
22
- # RUN python3 run.py
23
 
24
  # Start the FastAPI app on port 7860, the default port expected by Spaces
25
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
26
  # CMD ["gunicorn", "-b", "0.0.0.0:7860","main:app","--workers","1","-k","uvicorn.workers.UvicornWorker"]
 
19
  # Make all files and folders readable, writable, executable
20
  # RUN chmod -R 777 ./
21
 
22
+ RUN python3 main.py
23
 
24
  # Start the FastAPI app on port 7860, the default port expected by Spaces
25
+ # CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
26
  # CMD ["gunicorn", "-b", "0.0.0.0:7860","main:app","--workers","1","-k","uvicorn.workers.UvicornWorker"]