mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 12:34:13 +00:00
fix permission denied issue
This commit is contained in:
@@ -6,6 +6,7 @@ RUN docker-php-ext-install pdo pdo_mysql zip gd
|
||||
WORKDIR /var/www
|
||||
COPY . /var/www
|
||||
RUN chown -R www-data:www-data /var/www
|
||||
RUN chmod -Rf 777 /var/www/storage/logs/laravel.log
|
||||
|
||||
RUN composer install
|
||||
RUN php artisan clear-compiled
|
||||
|
||||
@@ -15,5 +15,6 @@ COPY Caddyfile /etc/Caddyfile
|
||||
WORKDIR /var/www/public
|
||||
RUN chown -R www-data:www-data /var/www
|
||||
RUN chown -R www-data:www-data /var/www/public
|
||||
RUN chmod -Rf 777 /var/www/storage/logs/laravel.log
|
||||
|
||||
CMD ["/usr/bin/caddy", "--conf", "/etc/Caddyfile", "--log", "stdout"]
|
||||
Reference in New Issue
Block a user