SamplePHPContainer/entrypoint.sh
2023-02-20 19:27:36 +01:00

10 lines
134 B
Bash
Executable File

#!/bin/sh
if [ "$UPDATE" = "1" ]
then
cd /www
composer update
else
nginx
/usr/sbin/php-fpm*
exec sleep infinity
fi