overleaf/services/web/bin/east
Jessica Lawshe 9c9993684c Merge pull request #2911 from overleaf/jel-rename-containers
Update migration script for web container name change

GitOrigin-RevId: e3cefe58f571ab4adf8d7e2b28d19148f394cc83
2020-06-17 02:10:42 +00:00

10 lines
193 B
Bash
Executable file

#!/bin/sh
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
if [ -f /.dockerenv ]; then
# I'm running inside docker
npm run migrations -- "$@"
else
${SCRIPTPATH}/run web bin/east "$@"
fi