Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurma committed Dec 7, 2023
1 parent c11d7b3 commit 037a6a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ RUN apk add --no-cache libcap \
&& apk del libcap \
&& ln -sf /usr/local/nginx/sbin/nginx /usr/bin/nginx


# ADD user to root group to allow access to part of socket file
RUN addgroup www-data root
USER www-data

# Create symlinks to redirect nginx logs to stdout and stderr docker log collector
Expand Down

0 comments on commit 037a6a6

Please sign in to comment.