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:
ManuelandMeier Lukas authored and GitHub committed 2024-03-16 15:51:34 +01:00
1 parent a4951037e3
commit 98c353349a
13 files changed
+217 -147

No files matched your search

+1
View File
@@ -0,0 +1 @@
docker build -t homarr .
+8
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