Dockerfile korrigiert - Hinweis von @nikomat@mastodontech.de
This commit is contained in:
parent
11ee6f38b5
commit
a0ddc6a5d8
2 changed files with 4 additions and 2 deletions
|
|
@ -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:*)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue