Dockerfile korrigiert - Hinweis von @nikomat@mastodontech.de

This commit is contained in:
fds2610 2026-03-25 08:06:43 +01:00
parent 11ee6f38b5
commit a0ddc6a5d8
2 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,8 @@
"permissions": { "permissions": {
"allow": [ "allow": [
"Bash(docker compose:*)", "Bash(docker compose:*)",
"Bash(docker-compose --version)" "Bash(docker-compose --version)",
"Bash(git add:*)"
] ]
} }
} }

View file

@ -30,7 +30,8 @@ COPY apache/steuerkram.conf /etc/apache2/sites-available/000-default.conf
RUN a2enmod rewrite headers RUN a2enmod rewrite headers
# Permissions # Permissions
RUN chown -R www-data:www-data /var/www/html \ RUN mkdir -p /var/www/html/public/static/uploads /var/www/html/data \
&& chown -R www-data:www-data /var/www/html \
&& chmod -R 755 /var/www/html/public/static/uploads \ && chmod -R 755 /var/www/html/public/static/uploads \
&& chmod -R 755 /var/www/html/data && chmod -R 755 /var/www/html/data