refactor docker compose

This commit is contained in:
liamcottle
2024-06-14 17:26:02 +12:00
parent e7824de7e8
commit 059de37111
3 changed files with 27 additions and 22 deletions

10
docker/map.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
echo "Waiting for mysql"
/wait || exit 111
echo "Running migrations"
npx prisma migrate dev
echo "Starting map ui"
exec node src/index.js ${MAP_OPTS}