dockerfile dockercompose entrypoint
This commit is contained in:
9
docker-entrypoint.sh
Executable file
9
docker-entrypoint.sh
Executable 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
|
||||
Reference in New Issue
Block a user