fix(docker): enable verbose build logging
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user