Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files30 unmodified lines313233343435363724 unmodified lines626364656566676830 unmodified lines git clone --depth 1 https://github.com/official-stockfish/Stockfish.git /app/clean_engine
WORKDIR /app/clean_engine/srcRUN make -j$(nproc) build ARCH=x86-64-sse41-popcnt && \RUN 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 pydanticRUN 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