2019-10-01 11:30:10 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
|
|
|
|
|
|
|
|
if [ -f /.dockerenv ]; then
|
|
|
|
# I'm running inside docker
|
|
|
|
npm run migrations -- "$@"
|
|
|
|
else
|
2020-06-16 13:58:37 +00:00
|
|
|
${SCRIPTPATH}/run web bin/east "$@"
|
2019-10-01 11:30:10 +00:00
|
|
|
fi
|