Amogh1221 commited on
Commit
6a372a9
·
verified ·
1 Parent(s): 44da706

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -62,11 +62,11 @@ RUN if [ ! -f "nn-9a0cc2a62c52.nnue" ]; then wget https://tests.stockfishchess.o
62
  # BACKEND SETUP
63
  # ============================================================
64
  WORKDIR /app
65
- RUN pip install --no-cache-dir fastapi "uvicorn[standard]" python-chess pydantic websockets
66
 
67
  # Set PYTHONPATH to include all potential source directories
68
  ENV PYTHONPATH="/app:/app/server"
69
  EXPOSE 7860
70
 
71
  # START: Use the guaranteed launcher in the root
72
- CMD ["uvicorn", "launcher:app", "--host", "0.0.0.0", "--port", "7860"]
 
62
  # BACKEND SETUP
63
  # ============================================================
64
  WORKDIR /app
65
+ RUN pip install --no-cache-dir fastapi uvicorn python-chess pydantic
66
 
67
  # Set PYTHONPATH to include all potential source directories
68
  ENV PYTHONPATH="/app:/app/server"
69
  EXPOSE 7860
70
 
71
  # START: Use the guaranteed launcher in the root
72
+ CMD ["python3", "/app/launcher.py"]