Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -23,4 +23,6 @@ RUN pip install torch torchvision
|
|
23 |
# Set environment variable to indicate PyTorch usage
|
24 |
ENV USE_TORCH=1
|
25 |
|
26 |
-
|
|
|
|
|
|
23 |
# Set environment variable to indicate PyTorch usage
|
24 |
ENV USE_TORCH=1
|
25 |
|
26 |
+
EXPOSE 7860
|
27 |
+
|
28 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|