summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRachel Y <rachel@transitory.social>2024-11-07 20:09:52 +0000
committerRachel Y <rachel@transitory.social>2024-11-07 20:09:52 +0000
commitaebdbf07b4b11c8bc69d77b967222ec4a0bb0141 (patch)
tree96a1458ee240d6c2795eb478244de795fa1626de /Dockerfile
parentUpdate file Dockerfile (diff)
downloadsharkey-aebdbf07b4b11c8bc69d77b967222ec4a0bb0141.tar.gz
sharkey-aebdbf07b4b11c8bc69d77b967222ec4a0bb0141.tar.bz2
sharkey-aebdbf07b4b11c8bc69d77b967222ec4a0bb0141.zip
creat and chown /sharkey/files in dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 0e156ef003..abee7fb098 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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 {} \;