Merge pull request #758 from nextcloud/fix/750/caddyfile-permissions

fix writing to the caddyfile
This commit is contained in:
Simon L 2022-06-06 22:31:10 +02:00 committed by GitHub
commit 8764824870
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -65,8 +65,7 @@ COPY start.sh /usr/bin/
COPY supervisord.conf /
RUN chmod +x /usr/bin/start.sh; \
chmod +r /supervisord.conf; \
chmod a+w /Caddyfile; \
chmod 777 /; \
chown www-data:www-data /Caddyfile; \
chmod +r -R /etc/apache2
# Give root a random password