Update file Dockerfile

This commit is contained in:
Rachel Y 2024-11-07 20:09:01 +00:00
parent 6ed38f53f5
commit 00ab7f5bd1
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ RUN apk add ffmpeg tini jemalloc \
&& corepack enable \ && corepack enable \
&& addgroup -g "${GID}" sharkey \ && addgroup -g "${GID}" sharkey \
&& adduser -D -u "${UID}" -G sharkey -h /sharkey sharkey \ && adduser -D -u "${UID}" -G sharkey -h /sharkey sharkey \
&& mkdir /sharkey/files \
&& find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /u+s -exec chmod u-s {} \; \ && find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /u+s -exec chmod u-s {} \; \
&& find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /g+s -exec chmod g-s {} \; && find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /g+s -exec chmod g-s {} \;