leonsimon23 commited on
Commit
06afad8
·
verified ·
1 Parent(s): 7bc4090

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -15,11 +15,12 @@ RUN apt-get update && \
15
 
16
  # 设置 Matplotlib 缓存目录到 /tmp
17
  ENV MPLCONFIGDIR=/tmp
18
- # 添加这一行来设置Fontconfig的缓存目录
19
  ENV XDG_CACHE_HOME=/tmp
20
 
21
  # 复制您的应用代码
22
  COPY app.py .
 
23
  COPY gmqrkl.xlsx .
24
 
25
  # 定义应用程序启动命令
 
15
 
16
  # 设置 Matplotlib 缓存目录到 /tmp
17
  ENV MPLCONFIGDIR=/tmp
18
+ # 设置 Fontconfig 的缓存目录到 /tmp
19
  ENV XDG_CACHE_HOME=/tmp
20
 
21
  # 复制您的应用代码
22
  COPY app.py .
23
+ # 确保您的示例数据文件也被复制
24
  COPY gmqrkl.xlsx .
25
 
26
  # 定义应用程序启动命令