Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -15,12 +15,12 @@ RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
|
| 15 |
# Install LeelaChessZero depencies
|
| 16 |
RUN apt update -y
|
| 17 |
RUN apt upgrade -y
|
| 18 |
-
RUN apt upgrade libstdc++6 -y
|
| 19 |
RUN apt install ocl-icd-opencl-dev -y
|
| 20 |
|
| 21 |
# Make engines executable
|
| 22 |
RUN chmod +x engines/stockfish/*
|
| 23 |
RUN chmod +x engines/maia/lc0
|
|
|
|
| 24 |
|
| 25 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
| 26 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 15 |
# Install LeelaChessZero depencies
|
| 16 |
RUN apt update -y
|
| 17 |
RUN apt upgrade -y
|
|
|
|
| 18 |
RUN apt install ocl-icd-opencl-dev -y
|
| 19 |
|
| 20 |
# Make engines executable
|
| 21 |
RUN chmod +x engines/stockfish/*
|
| 22 |
RUN chmod +x engines/maia/lc0
|
| 23 |
+
RUN chmod +x engines/maia/*.so*
|
| 24 |
|
| 25 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
| 26 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|