sophiemaw commited on
Commit
e57bd3f
·
verified ·
1 Parent(s): 4c31738

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -10,17 +10,18 @@ WORKDIR /app
10
  #ENV STREAMLIT_SERVER_MAX_UPLOAD_SIZE=200
11
 
12
 
13
- ENV MPLCONFIGDIR=/tmp/matplotlib \
 
14
  STREAMLIT_CONFIG_DIR=/tmp/.streamlit \
15
  XDG_CONFIG_HOME=/tmp/.config \
16
  HOME=/tmp \
17
  PYTHONPATH=/app/src \
18
  STREAMLIT_SERVER_MAX_UPLOAD_SIZE=200 \
19
- HF_HOME=/app/hf_cache \
20
- TRANSFORMERS_CACHE=/app/hf_cache \
21
- HUGGINGFACE_HUB_CACHE=/app/hf_cache\
22
  HF_HOME=/tmp/hf_cache \
23
- HF_HUB_CACHE=/tmp/hf_cache
 
 
 
24
 
25
  RUN apt-get update && apt-get install -y \
26
  build-essential curl git ffmpeg libgl1-mesa-glx \
 
10
  #ENV STREAMLIT_SERVER_MAX_UPLOAD_SIZE=200
11
 
12
 
13
+ ENV \
14
+ MPLCONFIGDIR=/tmp/matplotlib \
15
  STREAMLIT_CONFIG_DIR=/tmp/.streamlit \
16
  XDG_CONFIG_HOME=/tmp/.config \
17
  HOME=/tmp \
18
  PYTHONPATH=/app/src \
19
  STREAMLIT_SERVER_MAX_UPLOAD_SIZE=200 \
 
 
 
20
  HF_HOME=/tmp/hf_cache \
21
+ HF_HUB_CACHE=/tmp/hf_cache \
22
+ TRANSFORMERS_CACHE=/tmp/hf_cache \
23
+ TORCH_HOME=/tmp/torch_cache
24
+
25
 
26
  RUN apt-get update && apt-get install -y \
27
  build-essential curl git ffmpeg libgl1-mesa-glx \