dockerfile dockercompose entrypoint

This commit is contained in:
Syoul
2025-05-08 17:37:34 +02:00
parent dda945074b
commit cdf1a14613
3 changed files with 54 additions and 0 deletions

9
docker-entrypoint.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env sh
sed -i 's|"basePath": "/techradar"|"basePath": "'${BASE_PATH:-/}'"|' config.json
trap 'kill -SIGQUIT $PID' INT
exec $@ &
PID=$! && echo "PID=$PID" && wait