Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -14,7 +14,11 @@ RUN curl -L https://github.com/librespeed/speedtest/archive/refs/tags/5.4.1.tar.
|
|
14 |
COPY nginx.conf /etc/nginx/nginx.conf
|
15 |
|
16 |
# 创建必要的目录并设置权限
|
17 |
-
RUN mkdir -p /var/cache/nginx/client_temp
|
|
|
|
|
|
|
|
|
18 |
chown -R nginx:nginx /var/cache/nginx
|
19 |
|
20 |
# 切换到非 root 用户
|
|
|
14 |
COPY nginx.conf /etc/nginx/nginx.conf
|
15 |
|
16 |
# 创建必要的目录并设置权限
|
17 |
+
RUN mkdir -p /var/cache/nginx/client_temp \
|
18 |
+
/var/cache/nginx/proxy_temp \
|
19 |
+
/var/cache/nginx/fastcgi_temp \
|
20 |
+
/var/cache/nginx/uwsgi_temp \
|
21 |
+
/var/cache/nginx/scgi_temp && \
|
22 |
chown -R nginx:nginx /var/cache/nginx
|
23 |
|
24 |
# 切换到非 root 用户
|