From 713a56ff7910db3827f217eb65a49f38a2b84b0d Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 4 Nov 2022 12:52:00 +0100 Subject: [PATCH] Post Installation Cmd is executed within Entrypoint --- docker-entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index cbcf46e..6bb72e0 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -2,6 +2,9 @@ cd /var/www/eramba || exit +# Run Post Install CMD to generate app_local.php file with unique SALT and other defaults. +su -s /bin/bash -c "php composer.phar run-script post-install-cmd --no-interaction" www-data + # syncing dir structure into /data folder from /data_template su -s /bin/bash -c "rsync -rv app/upgrade/data_template/ app/upgrade/data/" www-data