Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -10,5 +10,7 @@ RUN pip install --no-cache-dir transformers datasets accelerate peft torch torch
|
|
10 |
# Copy all local files into the container
|
11 |
COPY . .
|
12 |
|
|
|
|
|
13 |
# Set default command (replace with your training script later)
|
14 |
CMD ["python", "train.py"]
|
|
|
10 |
# Copy all local files into the container
|
11 |
COPY . .
|
12 |
|
13 |
+
ENV TRANSFORMERS_CACHE=/app/cache
|
14 |
+
RUN mkdir -p /app/cache
|
15 |
# Set default command (replace with your training script later)
|
16 |
CMD ["python", "train.py"]
|