Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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 |
-
|
|
|
|
|
|
| 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"]
|