File size: 399 Bytes
9a7efe4
91f8966
f296a88
 
2ff137e
1cbfdb8
f3ea89b
2855e22
f3ea89b
 
 
1
2
3
4
5
6
7
8
9
10
11
12
FROM argilla/argilla-quickstart:latest

# Install dependencies for backup script (uses REST API, no argilla client needed)
RUN pip install --no-cache-dir huggingface_hub

# Copy backup script and custom startup
COPY backup_to_hub.py /home/argilla/backup_to_hub.py
COPY --chmod=755 start.sh /home/argilla/start.sh

# Copy custom Procfile that adds backup process
COPY Procfile /home/argilla/Procfile