Skip to content

Commit da5e00f

Browse files
committed
fixed permissions
1 parent bce2505 commit da5e00f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nginx/Dockerfile-fpm-alpine-nginx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ RUN apk --update add nginx
1111
# Note: chmod is a workaround for esotheric permissions issues on Alpine
1212
COPY image-files/ /
1313
RUN chown -R www-data:www-data /var/lib/nginx/ \
14-
&& mkdir -p /var/lib/nginx/tmp/client_body/ \
15-
&& chmod 777 /var/lib/nginx/tmp/client_body/
14+
&& mkdir -p /var/lib/nginx/tmp \
15+
&& chmod 777 /var/lib/nginx/tmp
1616

1717
# forward request and error logs to docker log collector
1818
RUN ln -sf /dev/stdout /var/log/nginx/access.log \

0 commit comments

Comments
 (0)