added debug printing
Some checks failed
Next.js App CI / docker (push) Failing after 1m15s

This commit is contained in:
2025-09-15 09:11:59 +02:00
parent 419edda1c9
commit 69870e2d64

View File

@@ -7,7 +7,7 @@ RUN apk add --no-cache imagemagick libwebp libwebp-tools ghostscript
# Enable pnpm
RUN corepack enable
WORKDIR /app
# WORKDIR /app
# Copy dependency files and install dependencies
# This is cached separately from the source code
@@ -18,8 +18,8 @@ RUN pnpm install --frozen-lockfile
COPY . .
# --- Asset Generation Step ---
# Run scripts to generate static images BEFORE the Next.js build
# The build needs these assets to be present.
RUN ls -la .
RUN ls -la /app
RUN chmod +x ./scripts/*.sh && \
./scripts/first_page_image.sh && \
./scripts/generate_webp.sh