mirror of
https://github.com/detleph/server.git
synced 2026-09-04 00:26:03 +02:00
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
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user