diff --git a/Dockerfile b/Dockerfile index 534235f..232b2bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,6 +38,9 @@ RUN composer install # Generate Laravel application key RUN php artisan key:generate +# Create directory for the socket and set permissions +RUN mkdir -p /run/php && chown www-data:www-data /run/php + # Copy the www.conf file to PHP-FPM pool.d directory COPY www.conf /usr/local/etc/php-fpm.d/www.conf