fix(docker): upgrade to node:22-alpine to resolve build errors

This commit is contained in:
cawcenter
2025-12-14 20:18:54 -05:00
parent ca38c25042
commit 3c7ff52dc2

View File

@@ -2,7 +2,7 @@
# Optimized for "Insane Mode" (High Concurrency & Throughput)
# 1. Base Image
FROM node:20-alpine AS base
FROM node:22-alpine AS base
WORKDIR /app
# Install system utilities for performance tuning
RUN apk add --no-cache libc6-compat curl bash
@@ -25,6 +25,9 @@ COPY . .
# Set to 8GB to be safe on most build runners
ENV NODE_OPTIONS="--max-old-space-size=8192"
# Debug: Check if astro is installed
RUN npm list astro || true
# Build the application
RUN npm run build