Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -27,6 +27,6 @@ RUN pip install fastapi uvicorn
|
|
27 |
|
28 |
ADD compute_model_property.py /tmp/compute_model_property.py
|
29 |
|
30 |
-
ENTRYPOINT ["python3", "/tmp/compute_model_property.py"]
|
31 |
|
32 |
-
|
|
|
27 |
|
28 |
ADD compute_model_property.py /tmp/compute_model_property.py
|
29 |
|
30 |
+
#ENTRYPOINT ["python3", "/tmp/compute_model_property.py"]
|
31 |
|
32 |
+
CMD ["uvicorn", "compute_model_property:app", "--host", "0.0.0.0", "--port", "7860"]
|