Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -12,8 +12,9 @@ RUN pip install python-multipart
|
|
| 12 |
# Install requirements.txt
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
| 14 |
|
| 15 |
-
# Make
|
| 16 |
-
RUN chmod +x engines/*
|
|
|
|
| 17 |
|
| 18 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
| 19 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 12 |
# Install requirements.txt
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
| 14 |
|
| 15 |
+
# Make engines executable
|
| 16 |
+
RUN chmod +x engines/stockfish/*
|
| 17 |
+
RUN chmod +x engines/maia/lc0
|
| 18 |
|
| 19 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
| 20 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|