API_DEBUG_SOLVER / Dockerfile
Siteshcodes's picture
Fix: add /tasks + /grade endpoints, fix inference.py logging, set PYTHONPATH
96939ad
raw
history blame contribute delete
302 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY environment/ ./environment/
COPY tasks/ ./tasks/
COPY tests/ ./tests/
COPY app.py .
COPY inference.py .
COPY openenv.yaml .
ENV PYTHONPATH=/app
EXPOSE 7860
CMD ["python", "app.py"]