vankap-grover commited on
Commit
b2de027
·
verified ·
1 Parent(s): e780588

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. openenv.yaml +1 -1
Dockerfile CHANGED
@@ -74,8 +74,8 @@ ENV ENABLE_WEB_INTERFACE=true
74
 
75
  # Health check
76
  HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
77
- CMD curl -f http://localhost:8000/health || exit 1
78
 
79
  # Run the FastAPI server
80
  # The module path is constructed to work with the /app/env structure
81
- CMD ["sh", "-c", "cd /app/env && uvicorn server.app:app --host 0.0.0.0 --port 8000"]
 
74
 
75
  # Health check
76
  HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
77
+ CMD curl -f http://localhost:7860/health || exit 1
78
 
79
  # Run the FastAPI server
80
  # The module path is constructed to work with the /app/env structure
81
+ CMD ["sh", "-c", "cd /app/env && uvicorn server.app:app --host 0.0.0.0 --port 7860"]
openenv.yaml CHANGED
@@ -3,4 +3,4 @@ name: rag_debug_env
3
  type: space
4
  runtime: fastapi
5
  app: server.app:app
6
- port: 8000
 
3
  type: space
4
  runtime: fastapi
5
  app: server.app:app
6
+ port: 7860