Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|
| 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 ["
|
|
|
|
| 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"]
|