fix(docker): enable verbose build logging

This commit is contained in:
cawcenter
2025-12-14 20:52:35 -05:00
parent 8ae5c9994d
commit 713bc28824

View File

@@ -22,14 +22,14 @@ COPY . .
# --- BUILD OPTIMIZATION ---
# Increase memory for the build process (Compiling all Admin UI components takes > 2GB)
# Set to 8GB to be safe on most build runners
ENV NODE_OPTIONS="--max-old-space-size=8192"
# Set to 4GB to be safe on most build runners (8GB can cause OOM on smaller VMs)
ENV NODE_OPTIONS="--max-old-space-size=4096"
# Debug: Check if astro is installed
RUN npm list astro || true
# Build the application
RUN npm run build
# Build the application with verbose logging to debug failures
RUN npm run build -- --verbose
# 4. Runner (God Mode Runtime)
FROM base AS runner