FROM python:3.10 WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . # set huggingface cache directory to something writeable ENV HF_HOME=/app/.cache/huggingface CMD ["python", "train.py"]