feat: add basic Docker configuration for backend and frontend services

This commit is contained in:
2025-10-28 12:28:11 +01:00
parent 7cf72fec7b
commit 79a8c4f229
6 changed files with 224 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
function exit_container_SIGTERM(){
echo "Caught SIGTERM"
exit 0
}
trap exit_container_SIGTERM SIGTERM
echo "Setting /app/public ownership..."
chgrp -R 33 /app
chown -hR 33:33 /app
echo "Starting PHP-FPM..."
php-fpm -F & wait