Add docker entrypoint and env loader

This commit is contained in:
Lectom C Han
2026-02-02 18:52:20 +09:00
parent 0037b90573
commit bf86b1d1e7
30 changed files with 2627 additions and 1547 deletions

8
docker/entrypoint.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
set -e
if [ ! -f /var/www/html/kngil/vendor/autoload.php ]; then
php /var/www/html/kngil/composer.phar install --working-dir=/var/www/html/kngil --no-interaction --prefer-dist
fi
exec apache2-foreground