refactor docker compose
This commit is contained in:
parent
e7824de7e8
commit
059de37111
3 changed files with 27 additions and 22 deletions
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "Waiting for mysql"
|
||||
/wait || exit 111
|
||||
|
||||
echo "Running migrations"
|
||||
npx prisma migrate dev
|
||||
|
||||
echo "Starting webapp"
|
||||
exec node src/index.js
|
||||
Loading…
Add table
Add a link
Reference in a new issue