fix: yarn develop command

This commit is contained in:
Chance Hudson
2021-07-15 11:53:31 -05:00
parent de4b94897c
commit cba1ec0e28
2 changed files with 1 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ services:
environment:
POSTGRES_PASSWORD: helloworld
POSTGRES_URL: postgresql://postgres:helloworld@localhost:5432/zkopru
POSTGRES_DB: zkopru
coordinator:
build:
context: ./

View File

@@ -4,9 +4,4 @@ set -e
while ! nc -z postgres 5432; do sleep 1; done;
if [ -z $SKIP_MIGRATE ]
then
yes | prisma migrate up --experimental --schema /proj/packages/prisma/prisma/postgres-migrator.prisma --verbose
fi
exec gotty -w --port $PORT node /proj/packages/cli/dist/apps/coordinator/cli.js --config /proj/packages/cli/coordinator.dev.json