| FROM python:3.10 | |
| RUN apt-get update && apt-get install -y git | |
| WORKDIR /workspace | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| CMD ["python", "train_dpo.py"] | |
| FROM python:3.10 | |
| RUN apt-get update && apt-get install -y git | |
| WORKDIR /workspace | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| CMD ["python", "train_dpo.py"] | |