feat(docker): add Docker support and enhance dashboard data
- Add Dockerfile and docker-compose.yml for containerized deployment - Update server to listen on all network interfaces for Docker compatibility - Add .dockerignore to exclude unnecessary files from build context - Enhance dashboard controller with additional user data, trends, and suggestions - Update package.json scripts for proper Docker build workflow
This commit is contained in:
@@ -54,7 +54,7 @@ async function bootstrap() {
|
||||
expressApp.locals.round = Math.round;
|
||||
|
||||
const PORT = process.env.PORT || 3000;
|
||||
await app.listen(PORT);
|
||||
await app.listen(PORT, '0.0.0.0');
|
||||
console.log(`Application is running on: ${await app.getUrl()}`);
|
||||
}
|
||||
bootstrap();
|
||||
|
||||
Reference in New Issue
Block a user