mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-26 16:30:57 +01:00
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:
1
scripts/build.cmd
Normal file
1
scripts/build.cmd
Normal file
@@ -0,0 +1 @@
|
||||
docker build -t homarr .
|
||||
8
scripts/run.sh
Normal file
8
scripts/run.sh
Normal 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
|
||||
Reference in New Issue
Block a user