reworked docker setup

This commit is contained in:
Luca Haid
2024-05-08 21:07:07 +02:00
parent 2667f2fb59
commit d8300bfdb5
9 changed files with 20 additions and 112 deletions

5
docker/php/entrypoint.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
trap "echo 'Stopping Apache...'; apachectl stop; exit 0" SIGTERM
apachectl -D FOREGROUND &
# Wait for Apache and all child processes to exit
wait $!