zhuyou commited on
Commit
e3bec16
1 Parent(s): 28ee3e2
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -10,6 +10,11 @@ WORKDIR /app
10
  # 复制Nginx配置文件
11
  COPY nginx.conf /etc/nginx/nginx.conf
12
 
 
 
 
 
 
13
  # 复制frps及配置文件到/app目录
14
  COPY frps /app/frps
15
  COPY frps.toml /app/frps.toml
 
10
  # 复制Nginx配置文件
11
  COPY nginx.conf /etc/nginx/nginx.conf
12
 
13
+ # 在Dockerfile中添加
14
+ RUN chmod -R 777 /var/cache/nginx
15
+
16
+ RUN chmod -R 777 /var/run /etc/nginx/conf.d
17
+
18
  # 复制frps及配置文件到/app目录
19
  COPY frps /app/frps
20
  COPY frps.toml /app/frps.toml