config: add dockerfile (#214)

* config: add dockerfile

* feat: add working dockerfile for nest and next app with sqlite migration

---------

Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
Manuel
2024-03-16 15:51:34 +01:00
committed by GitHub
parent a4951037e3
commit 98c353349a
13 changed files with 217 additions and 147 deletions

1
scripts/build.cmd Normal file
View File

@@ -0,0 +1 @@
docker build -t homarr .

8
scripts/run.sh Normal file
View File

@@ -0,0 +1,8 @@
# Run migrations
node ./db/migrate.mjs ./db/migrations
# Run the nestjs backend
node apps/nestjs/dist/main.mjs &
# Run the nextjs server
node apps/nextjs/server.js