Add support for docker & docker compose

This commit is contained in:
Ketan Padegaonkar
2024-06-11 18:42:01 +05:30
parent c6934214b4
commit e7824de7e8
5 changed files with 77 additions and 0 deletions

10
docker/webapp.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 webapp"
exec node src/index.js