javaeeduke commited on
Commit
f7995cd
·
verified ·
1 Parent(s): f4ff755

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -10,4 +10,9 @@ RUN git clone https://github.com/Panniantong/agent-reach.git /opt/agent-reach
10
  RUN pip install -e /opt/agent-reach
11
 
12
  # 如果项目需要初始化环境,再执行它的内部指令
13
- # RUN agent-reach install --env=auto
 
 
 
 
 
 
10
  RUN pip install -e /opt/agent-reach
11
 
12
  # 如果项目需要初始化环境,再执行它的内部指令
13
+ # RUN agent-reach install --env=auto
14
+ # 放开目录权限,确保 Hugging Face 默认用户能读取和写入
15
+ RUN chmod -R 777 /opt/agent-reach
16
+
17
+ # 如果有生成配置文件的需求,确保用户家目录可写
18
+ ENV HOME=/tmp