1
0
Fork 0
mirror of https://github.com/bastienwirtz/homer.git synced 2026-01-23 02:15:09 +00:00

Added su-exec to ARM dockerfiles and removed USER line

This commit is contained in:
AgileVirus 2020-07-09 18:47:33 +01:00
parent 4bfcc5bc95
commit fd9237eb52
4 changed files with 7 additions and 9 deletions

View file

@ -11,5 +11,5 @@ fi
# Install default config if no one is available.
yes n | cp -i /www/default-assets/config.yml.dist /www/assets/config.yml &> /dev/null
chown -R $UID:$GID /www/assets/*
exec su-exec $USER:$GROUP darkhttpd /www/ --no-listing --port "$PORT"
chown -R $UID:$GID /www/assets
exec su-exec $UID:$GID darkhttpd /www/ --no-listing --port "$PORT"