Fix chown usage

This commit is contained in:
Girish Ramakrishnan
2025-04-08 10:07:36 +02:00
parent f2efa0ace4
commit c6be4b9e11
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ RUN curl -L https://publicsuffix.org/list/public_suffix_list.dat -o /app/code/en
RUN ln -sf /app/data/index.html /app/code/env/lib/python3.12/site-packages/synapse/static/index.html
RUN chown -R cloudron.cloudron /app/code
RUN chown -R cloudron:cloudron /app/code
ADD index.html homeserver.yaml.template start.sh /app/pkg/

View File

@@ -102,7 +102,7 @@ fi
# fix permissions
echo "==> Fixing permissions"
chown -R cloudron.cloudron /app/data /run/synapse
chown -R cloudron:cloudron /app/data /run/synapse
echo "==> Starting synapse"
exec gosu cloudron:cloudron python3 -m synapse.app.homeserver --config-path /app/data/configs/homeserver.yaml -n