diff --git a/Dockerfile b/Dockerfile index a0ab115b6..dc976e3db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -395,10 +395,10 @@ ENV sintonia_user=${sintonia_user} ### Start server CMD cron && \ - php artisan key:generate && \ git config --global --add safe.directory /var/www/sintonia_webapp && \ /home/$sintonia_user/composer install --no-progress --no-interaction && \ /home/$sintonia_user/composer --no-cache dump-autoload --no-interaction && \ + php artisan key:generate && \ php artisan migrate && \ php artisan db:seed RolesAndPermissionsSeeder && \ php artisan schedule:run >> /dev/null 2>&1 && \