changed dockerfile for hub-server, copied files for Hub and dispatch-server

This commit is contained in:
PxlLoewe
2025-05-27 01:07:04 -07:00
parent aeace37f9c
commit f54d3ab040
7 changed files with 384 additions and 23 deletions

View File

@@ -14,6 +14,8 @@ WORKDIR /usr/app
COPY . .
RUN ls -lh
RUN turbo prune hub-server --docker
FROM base AS installer

View File

@@ -11,7 +11,7 @@ app.use(cors());
app.use(router);
const port = process.env.API_PORT || 3003;
const port = process.env.HUB_API_PORT || 3000;
app.listen(port, () => {
console.log(`Server is running on port ${port}`);
});

View File

@@ -5,8 +5,7 @@
},
"scripts": {
"dev": "nodemon --signal SIGINT",
"start": "node index.js",
"build": "tsc"
"start": "tsx index.ts --transpile-only"
},
"devDependencies": {
"@repo/db": "*",
@@ -27,6 +26,9 @@
"dotenv": "^16.4.7",
"express": "^4.21.2",
"nodemailer": "^6.10.0",
"react": "^19.0.0"
}
"react": "^19.0.0",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.19.4"
},
"packageManager": "pnpm@10.11.0"
}