NitinBot002 commited on
Commit
b379f3f
Β·
1 Parent(s): c5d5cd5

Fix: upgrade to Node 22 for Vite 8 compatibility

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -8
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  # ============================================================
2
  # Stage 1 β€” Build the React frontend
3
  # ============================================================
4
- FROM node:18-slim AS frontend-build
5
 
6
  WORKDIR /app/frontend
7
 
@@ -61,10 +61,10 @@ HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
61
 
62
  # ── Start with Gunicorn (production WSGI server) ──────────
63
  CMD ["gunicorn", \
64
- "--bind", "0.0.0.0:7860", \
65
- "--workers", "4", \
66
- "--timeout", "120", \
67
- "--access-logfile", "-", \
68
- "--error-logfile", "-", \
69
- "--chdir", "/app/backend", \
70
- "app:app"]
 
1
  # ============================================================
2
  # Stage 1 β€” Build the React frontend
3
  # ============================================================
4
+ FROM node:22-slim AS frontend-build
5
 
6
  WORKDIR /app/frontend
7
 
 
61
 
62
  # ── Start with Gunicorn (production WSGI server) ──────────
63
  CMD ["gunicorn", \
64
+ "--bind", "0.0.0.0:7860", \
65
+ "--workers", "4", \
66
+ "--timeout", "120", \
67
+ "--access-logfile", "-", \
68
+ "--error-logfile", "-", \
69
+ "--chdir", "/app/backend", \
70
+ "app:app"]