fix: bump Node to 20 in frontend Dockerfile for Vite 7 compatibility

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-09 20:39:51 -05:00
parent d30df957e2
commit 8949a36454

View File

@@ -1,6 +1,6 @@
# Multi-stage build for TOD Frontend # Multi-stage build for TOD Frontend
# Stage 1: build — Node.js build environment # Stage 1: build — Node.js build environment
FROM node:18-alpine AS builder FROM node:20-alpine AS builder
# Cap Node.js heap to 512 MB so tsc + vite build don't OOM a low-RAM server. # Cap Node.js heap to 512 MB so tsc + vite build don't OOM a low-RAM server.
# Vite's bundler defaults to using all available heap; on a 2-4 GB machine that # Vite's bundler defaults to using all available heap; on a 2-4 GB machine that