bhavishya2895 commited on
Commit
142c197
·
verified ·
1 Parent(s): c0afda3

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. 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 ["sh", "-c", "cd /app/env && uvicorn server.app:app --host 0.0.0.0 --port 8000"]
 
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"]