cigol123 commited on
Commit
6167496
·
verified ·
1 Parent(s): 54026e9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -4,9 +4,7 @@ FROM python:3.9-slim
4
  # Set environment variables for Hugging Face cache
5
  ENV TRANSFORMERS_CACHE=/tmp/.cache
6
  ENV HF_DATASETS_CACHE=/tmp/.cache
7
-
8
- # Set PyTorch cache directory
9
- ENV TORCH_HOME=/tmp/.cache
10
 
11
  # Create the cache directory and set permissions
12
  RUN mkdir -p /tmp/.cache && chmod -R 777 /tmp/.cache
 
4
  # Set environment variables for Hugging Face cache
5
  ENV TRANSFORMERS_CACHE=/tmp/.cache
6
  ENV HF_DATASETS_CACHE=/tmp/.cache
7
+ ENV TORCH_HOME=/tmp/.cache # Set PyTorch cache directory
 
 
8
 
9
  # Create the cache directory and set permissions
10
  RUN mkdir -p /tmp/.cache && chmod -R 777 /tmp/.cache