Skip to content
Snippets Groups Projects
Commit aebdbf07 authored by Rachel Y's avatar Rachel Y
Browse files

creat and chown /sharkey/files in dockerfile

parent 00ab7f5b
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,7 @@ RUN apk add ffmpeg tini jemalloc \
&& addgroup -g "${GID}" sharkey \
&& adduser -D -u "${UID}" -G sharkey -h /sharkey sharkey \
&& mkdir /sharkey/files \
&& chown sharkey:sharkey /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 /g+s -exec chmod g-s {} \;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment