Deadman922 commited on
Commit
239fb0c
·
verified ·
1 Parent(s): 86d3cff

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -30,4 +30,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
30
  CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:7860/health')" || exit 1
31
 
32
  # Start the server using uv run
33
- CMD ["uv", "run", "--python", "/usr/local/bin/python3", "python", "-m", "server.main"]
 
30
  CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:7860/health')" || exit 1
31
 
32
  # Start the server using uv run
33
+ CMD ["uv", "run", "uvicorn", "server.main:app", "--host", "0.0.0.0", "--port", "7860"]