aboutsummaryrefslogtreecommitdiff
path: root/entrypoint.sh
blob: 4886554414663e6f98345721255d7cc902e8a8b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env sh

DEV_ENTRYPOINT=$(pwd)/dev.entrypoint.sh

if [ -f "$DEV_ENTRYPOINT" ] \
&& [ -x "$DEV_ENTRYPOINT" ];
then
	## Run dev entrypoint script if found and executable
	$DEV_ENTRYPOINT
fi

## Assume shell was passed, and attempt to launch
exec "$@"