Kashtan commited on
Commit
059717e
·
verified ·
1 Parent(s): 15b77f8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -7,6 +7,10 @@ WORKDIR /app
7
  # Copy the requirements file
8
  COPY requirements.txt .
9
 
 
 
 
 
10
  # Install dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
7
  # Copy the requirements file
8
  COPY requirements.txt .
9
 
10
+ # Set environment variables for Hugging Face and Matplotlib
11
+ ENV TRANSFORMERS_CACHE=/cache/huggingface
12
+ ENV MPLCONFIGDIR=/cache/matplotlib
13
+
14
  # Install dependencies
15
  RUN pip install --no-cache-dir -r requirements.txt
16