Files
server/scripts/docker-entrypoint.dev.sh
T
Stephan 2b061c5f65 Add a docker dev environment that starts a container without building the image
+ Add dev.sh script to start the dev environment
+ Add generated flags to the .gitignore file
2021-12-03 10:21:43 +01:00

14 lines
170 B
Bash
Executable File

#!/bin/bash
if ! test -f INITIALIZED; then
touch INITIALIZED
cd /app
npm i -g ts-node nodemon
npm i
npx prisma db push
fi
nodemon /app/src/app.ts