From 798542673f24fd176dc8c6794d8718b28b02323a Mon Sep 17 00:00:00 2001 From: Saeed Vaziry Date: Thu, 19 Jun 2025 14:23:33 +0200 Subject: [PATCH] fix docker --- docker/Dockerfile | 3 --- docker/start.sh | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index b3871351..5d1d8765 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -37,9 +37,6 @@ RUN composer install --no-dev RUN chown -R www-data:www-data /var/www/html \ && chmod -R 755 /var/www/html/storage /var/www/html/bootstrap/cache \ -# install plugins -RUN php /var/www/html/artisan plugins:install https://github.com/vitodeploy/laravel-octane-plugin - # webserver RUN rm /etc/nginx/sites-available/default RUN rm /etc/nginx/sites-enabled/default diff --git a/docker/start.sh b/docker/start.sh index 04f6137f..9b5df7d5 100644 --- a/docker/start.sh +++ b/docker/start.sh @@ -50,6 +50,9 @@ if [ ! -f "$INIT_FLAG" ]; then # create sqlite database touch /var/www/html/storage/database.sqlite + # install default plugins + php /var/www/html/artisan plugins:install https://github.com/vitodeploy/laravel-octane-plugin + # create the flag file to indicate completion of initialization tasks touch "$INIT_FLAG" fi