Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -24,7 +24,7 @@ RUN pip install -r requirements.txt
|
|
| 24 |
|
| 25 |
COPY . .
|
| 26 |
|
| 27 |
-
|
| 28 |
# CMD ["python", "model_loader.py"]
|
| 29 |
-
CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port $PORT"]
|
| 30 |
|
|
|
|
| 24 |
|
| 25 |
COPY . .
|
| 26 |
|
| 27 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 28 |
# CMD ["python", "model_loader.py"]
|
| 29 |
+
# CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port $PORT"]
|
| 30 |
|