akshay-sg commited on
Commit
ffdacf7
·
verified ·
1 Parent(s): fb19586

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -12,4 +12,5 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
  COPY ./app.py /code/app.py
13
 
14
  # Launch the server
15
- CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
12
  COPY ./app.py /code/app.py
13
 
14
  # Launch the server
15
+ # Note: app:app refers to file 'app.py' and object 'app' inside it
16
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]