mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 17:51:51 +02:00
Update migration script for web container name change GitOrigin-RevId: e3cefe58f571ab4adf8d7e2b28d19148f394cc83
11 lines
193 B
Bash
Executable File
11 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
|