re-adding in removal of frontend artifacts from dockerfile, re-added chown of /app directory

This commit is contained in:
dekzter 2025-04-07 08:36:11 -04:00
parent 67f282c682
commit 7a90cc8ae3
2 changed files with 3 additions and 4 deletions

View file

@ -16,9 +16,7 @@ sed -i "s/NGINX_PORT/${DISPATCHARR_PORT}/g" /etc/nginx/sites-enabled/default
if [ "$(id -u)" = "0" ]; then
# Needs to own ALL of /data except db, we handle that below
chown -R $PUID:$PGID /data
chown -R $PUID:$PGID /app/logo_cache
chown -R $PUID:$PGID /app/media
chown -R $PUID:$PGID /app
# Permissions
chown -R postgres:postgres /data/db