From 44a1411f8f3125726aee5ee737a80dd285ddacdc Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 5 Jun 2025 11:13:30 +0200 Subject: [PATCH] feat(docker): prod, fix misc --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 70561aaea..3d9d10fe7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -416,7 +416,6 @@ FROM sintonia-webapp-build-common AS sintonia-webapp-production USER root COPY ./docker/sintonia-webapp/php/php-ini-production /usr/local/etc/php/php.ini -COPY ./docker/sintonia-webapp/laravel/.env.production.example /var/www/sintonia_webapp/.env USER $sintonia_user WORKDIR /var/www/sintonia_webapp @@ -425,6 +424,8 @@ RUN git clone --branch dev --single-branch https://git.congegni.net/Congegni/sin /home/$sintonia_user/composer install --no-progress --no-interaction && \ /home/$sintonia_user/composer --no-cache dump-autoload --no-interaction +COPY ./docker/sintonia-webapp/laravel/.env.production.example /var/www/sintonia_webapp/.env + RUN php artisan key:generate && \ php artisan migrate && \ php artisan db:seed && \