Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -31,7 +31,7 @@ RUN echo "Cloning fresh engine source..." && \
|
|
| 31 |
git clone --depth 1 https://github.com/official-stockfish/Stockfish.git /app/clean_engine
|
| 32 |
|
| 33 |
WORKDIR /app/clean_engine/src
|
| 34 |
-
RUN make -j$(nproc) build ARCH=x86-64-
|
| 35 |
mkdir -p /app/engine && \
|
| 36 |
cp stockfish /app/engine/deepcastle && \
|
| 37 |
chmod +x /app/engine/deepcastle
|
|
@@ -62,7 +62,7 @@ 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 python-chess pydantic
|
| 66 |
|
| 67 |
# Set PYTHONPATH to include all potential source directories
|
| 68 |
ENV PYTHONPATH="/app:/app/server"
|
|
|
|
| 31 |
git clone --depth 1 https://github.com/official-stockfish/Stockfish.git /app/clean_engine
|
| 32 |
|
| 33 |
WORKDIR /app/clean_engine/src
|
| 34 |
+
RUN make -j$(nproc) build ARCH=x86-64-modern && \
|
| 35 |
mkdir -p /app/engine && \
|
| 36 |
cp stockfish /app/engine/deepcastle && \
|
| 37 |
chmod +x /app/engine/deepcastle
|
|
|
|
| 62 |
# BACKEND SETUP
|
| 63 |
# ============================================================
|
| 64 |
WORKDIR /app
|
| 65 |
+
RUN pip install --no-cache-dir fastapi uvicorn python-chess pydantic websockets
|
| 66 |
|
| 67 |
# Set PYTHONPATH to include all potential source directories
|
| 68 |
ENV PYTHONPATH="/app:/app/server"
|