Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files49 unmodified lines505152535455565758596061626 unmodified lines6970717249 unmodified linesexit 1; \fi# Map any NNUE files found in the repoRUN find /app -name "*.nnue" -exec cp {} /app/engine/custom_big.nnue \; || echo "No custom NNUE found."# Failsafe BrainsWORKDIR /app/engineRUN if [ ! -f "nn-9a0cc2a62c52.nnue" ]; then wget https://tests.stockfishchess.org/api/nn/nn-9a0cc2a62c52.nnue; fi && \if [ ! -f "nn-47fc8b7fff06.nnue" ]; then wget https://tests.stockfishchess.org/api/nn/nn-47fc8b7fff06.nnue; fi# ============================================================# BACKEND SETUP6 unmodified linesEXPOSE 7860# START: Use the guaranteed launcher in the rootCMD ["python3", "/app/launcher.py"]49 unmodified lines50515253545556575859606162636465666 unmodified lines7374757649 unmodified linesexit 1; \fi# ============================================================# BRAIN PLACEMENT (The Neural Sync)# ============================================================WORKDIR /app/engine# Download your trained brain directly from HF Space to be 100% sure it existsRUN wget -q https://huggingface.co/spaces/Amogh1221/deepcastle-api/resolve/main/output.nnue -O /app/engine/output.nnue# Also download failsafe stockfish brains (backup)RUN wget -q https://tests.stockfishchess.org/api/nn/nn-9a0cc2a62c52.nnue && \wget -q https://tests.stockfishchess.org/api/nn/nn-47fc8b7fff06.nnue# ============================================================# BACKEND SETUP6 unmodified linesEXPOSE 7860# START: Use the guaranteed launcher in the rootCMD ["python3", "/app/launcher.py"]
Dockerfile+11-7