Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -29,7 +29,7 @@ COPY nginx.conf /etc/nginx/nginx.conf
|
|
| 29 |
# 权限处理
|
| 30 |
RUN chmod +x /app/entrypoint.sh && \
|
| 31 |
touch /tmp/nginx.pid && \
|
| 32 |
-
chown -R 1000:1000 /app /etc/nginx /var/log/nginx /var/lib/nginx /tmp /home/
|
| 33 |
|
| 34 |
# 切换回 user (Space 默认用户 ID 通常是 1000)
|
| 35 |
USER 1000
|
|
|
|
| 29 |
# 权限处理
|
| 30 |
RUN chmod +x /app/entrypoint.sh && \
|
| 31 |
touch /tmp/nginx.pid && \
|
| 32 |
+
chown -R 1000:1000 /app /etc/nginx /var/log/nginx /var/lib/nginx /tmp /home/1000
|
| 33 |
|
| 34 |
# 切换回 user (Space 默认用户 ID 通常是 1000)
|
| 35 |
USER 1000
|