rlm-training-test / Dockerfile
mindchain's picture
Add Dockerfile
54ad45b verified
raw
history blame contribute delete
328 Bytes
FROM python:3.10-slim
RUN apt-get update && apt-get install -y \
git \
git-lfs \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY train_rlm.py .
ENV HF_HOME=/app/.cache
ENV TRANSFORMERS_CACHE=/app/.cache
CMD ["python", "train_rlm.py"]