Add Docker deployment config and production CORS

- Dockerfile with multi-stage build (builder + production)
- docker-compose.yml for EC2 deployment with SSH localhost
- Add status.eventifyplus.com to CORS origins

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-23 14:05:10 +05:30
parent 7dee2d8069
commit eb6c097664
3 changed files with 57 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ const app = express();
// ── Middleware ──
app.use(
cors({
origin: ['http://localhost:5173', 'http://localhost:5174'],
origin: ['http://localhost:5173', 'http://localhost:5174', 'https://status.eventifyplus.com'],
credentials: true,
})
);