changed dockerfile for hub-server, copied files for Hub and dispatch-server
This commit is contained in:
@@ -14,6 +14,8 @@ WORKDIR /usr/app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN ls -lh
|
||||
|
||||
RUN turbo prune hub-server --docker
|
||||
|
||||
FROM base AS installer
|
||||
|
||||
@@ -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}`);
|
||||
});
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user