nump commited on
Commit
4178c14
1 Parent(s): b3a21bc

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -20,7 +20,11 @@ COPY conf.ini /app/conf.ini
20
  COPY aria2.conf /app/aria2.conf
21
  # 赋予执行权限
22
  RUN chmod +x ./cloudreve
 
 
23
 
 
 
24
  # 暴露端口
25
  EXPOSE 7860
26
 
 
20
  COPY aria2.conf /app/aria2.conf
21
  # 赋予执行权限
22
  RUN chmod +x ./cloudreve
23
+ # 创建 /aria2/data 目录
24
+ RUN mkdir -p /aria2/data
25
 
26
+ # 更改 /aria2/data 目录的权限
27
+ RUN chmod 777 /aria2/data
28
  # 暴露端口
29
  EXPOSE 7860
30