Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files30 unmodified lines3132333435363724 unmodified lines6263646566676830 unmodified linesgit clone --depth 1 https://github.com/official-stockfish/Stockfish.git /app/clean_engineWORKDIR /app/clean_engine/srcRUN make -j$(nproc) build ARCH=x86-64-sse41-popcnt && \mkdir -p /app/engine && \cp stockfish /app/engine/deepcastle && \chmod +x /app/engine/deepcastle24 unmodified lines# BACKEND SETUP# ============================================================WORKDIR /appRUN pip install --no-cache-dir fastapi uvicorn python-chess pydantic# Set PYTHONPATH to include all potential source directoriesENV PYTHONPATH="/app:/app/server"30 unmodified lines3132333435363724 unmodified lines6263646566676830 unmodified linesgit clone --depth 1 https://github.com/official-stockfish/Stockfish.git /app/clean_engineWORKDIR /app/clean_engine/srcRUN make -j$(nproc) build ARCH=x86-64-modern && \mkdir -p /app/engine && \cp stockfish /app/engine/deepcastle && \chmod +x /app/engine/deepcastle24 unmodified lines# BACKEND SETUP# ============================================================WORKDIR /appRUN pip install --no-cache-dir fastapi uvicorn python-chess pydantic websockets# Set PYTHONPATH to include all potential source directoriesENV PYTHONPATH="/app:/app/server"
Dockerfile+2-2