leonsimon23 commited on
Commit
d3036ac
·
verified ·
1 Parent(s): e2490bd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -11,6 +11,10 @@ RUN apt-get update && apt-get install -y git
11
  ARG HF_TOKEN
12
  ENV GITHUB_TOKEN=${HF_TOKEN}
13
 
 
 
 
 
14
  # 克隆私有仓库
15
  RUN git clone https://x-access-token:${GITHUB_TOKEN}@github.com/leoncool23/sci_xg_classify.git .
16
 
 
11
  ARG HF_TOKEN
12
  ENV GITHUB_TOKEN=${HF_TOKEN}
13
 
14
+ # 设置 Matplotlib 的缓存目录
15
+ ENV MPLCONFIGDIR=/app/.matplotlib
16
+
17
+
18
  # 克隆私有仓库
19
  RUN git clone https://x-access-token:${GITHUB_TOKEN}@github.com/leoncool23/sci_xg_classify.git .
20