refactor(docker): add laravel perms
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
parent
0121d7ae77
commit
bced142657
4
Dockerfile
Normal file → Executable file
4
Dockerfile
Normal file → Executable file
@ -24,6 +24,10 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
|
||||
RUN composer update && composer install
|
||||
RUN npm ci
|
||||
|
||||
# Set Laravel's permissions, though this could be done in the COPY command directly
|
||||
RUN chown -R www-data:www-data /var/www/html/storage
|
||||
RUN chmod -R 755 /var/www/html/storage
|
||||
|
||||
|
||||
EXPOSE 9000
|
||||
CMD ["php-fpm"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user