mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
9c9993684c
Update migration script for web container name change GitOrigin-RevId: e3cefe58f571ab4adf8d7e2b28d19148f394cc83
10 lines
193 B
Bash
Executable file
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
|