mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
11 lines
196 B
Text
11 lines
196 B
Text
|
#!/bin/sh
|
||
|
|
||
|
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
|
||
|
|
||
|
if [ -f /.dockerenv ]; then
|
||
|
# I'm running inside docker
|
||
|
npm run migrations -- "$@"
|
||
|
else
|
||
|
${SCRIPTPATH}/run web_v2 bin/east "$@"
|
||
|
fi
|