RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # user as owner | |
| sudo usermod -a -G www-data $USER | |
| sudo chown -R $USER:www-data . | |
| sudo find . -type f -exec chmod 664 {} \; | |
| sudo find . -type d -exec chmod 775 {} \; | |
| sudo chgrp -R www-data storage bootstrap/cache | |
| sudo chmod -R ug+rwx storage bootstrap/cache | |
| # webserver as owner | |
| sudo usermod -a -G www-data $USER |