Upload folder using huggingface_hub
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -77,6 +77,6 @@ RUN python -c "from huggingface_hub import snapshot_download; snapshot_download(
|
|
| 77 |
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
| 78 |
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')" || exit 1
|
| 79 |
|
| 80 |
-
# Run the FastAPI server
|
| 81 |
ENV ENABLE_WEB_INTERFACE=true
|
| 82 |
-
CMD ["
|
|
|
|
| 77 |
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
| 78 |
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')" || exit 1
|
| 79 |
|
| 80 |
+
# Run the FastAPI server using the installed package
|
| 81 |
ENV ENABLE_WEB_INTERFACE=true
|
| 82 |
+
CMD ["uvicorn", "finqa_env.server.app:app", "--host", "0.0.0.0", "--port", "8000"]
|