chess-assistant / Dockerfile
unknown
Deploy Maia3 Chess Prediction API - Chessformer 3M inference server
afd6ba9
Raw
History Blame Contribute Delete
379 Bytes
FROM pytorch/pytorch:2.6.0-cuda12.4-cudnn9-runtime
WORKDIR /app
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY maia3-3m.pt /app/maia3-3m.pt
COPY maia3_pkg/ /app/maia3_pkg/
COPY app.py .
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]