File size: 354 Bytes
642190e
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM python:3.11-slim

RUN pip install --no-cache-dir "huggingface_hub>=0.26"

WORKDIR /app
COPY app.py .
COPY bundle ./bundle

# judgments/ is ephemeral container storage; the CommitScheduler pushes it to
# the dataset repo every 2 minutes, and files are boot-suffixed so restarts
# never overwrite earlier uploads.
EXPOSE 7860
CMD ["python", "app.py"]