You'll need a dedicated PHP script in your container or mounted volume
where you need to bootstrap Prestashop framework
(include /init.php and /config/config.inc.php) so you can launch those
Prestashop core commands afterwards.
You can use docker exec to execute it after cointaner had started:
docker exec -it -w $PWD php_worker php /home/my_post_install_script.php
Regarding modify currency options, have a look at classes/Currency.php , there all all the methods to interact with Currency object.
Regarding updating shop main activity, this is the PS_SHOP_ACTIVITY key in Configuration table , so a
Configuration::updateValue(PS_SHOP_ACTIVITY, your_id)
will do the trick. You can find various option values in backoffice dropdown list.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…