Upload folder using huggingface_hub
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -7,4 +7,8 @@ COPY . .
|
|
| 7 |
RUN pip install --upgrade pip
|
| 8 |
RUN pip install -r requirements.txt
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
RUN pip install --upgrade pip
|
| 8 |
RUN pip install -r requirements.txt
|
| 9 |
|
| 10 |
+
# IMPORTANT: expose correct port
|
| 11 |
+
EXPOSE 7860
|
| 12 |
+
|
| 13 |
+
# CRITICAL: start FastAPI
|
| 14 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|