Spaces:
Running
Running
Sibam commited on
Commit ·
fe3f40d
1
Parent(s): 7b56838
fix: change port to 7860 for HF Spaces compatibility
Browse filesFiles changed (2)
- Dockerfile+2-2
- openenv.yaml+1-1
33 unmodified lines34353637373839404033 unmodified lines
# Health checkHEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \ CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')" || exit 1 CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:7860/health')" || exit 1
# Start serverCMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"]CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]2 unmodified lines345662 unmodified linestype: spaceruntime: fastapiapp: server.app:appport: 8000port: 7860Dockerfile+2-2
openenv.yaml+1-1