You've already forked isop-mirror
feat: add basic Docker configuration for backend and frontend services
This commit is contained in:
14
backend/docker/entrypoint.sh
Normal file
14
backend/docker/entrypoint.sh
Normal 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
|
||||
Reference in New Issue
Block a user