fix: log contents of build

This commit is contained in:
Henry
2025-06-16 22:36:06 +01:00
parent 2dad48d223
commit 290b72660c

View File

@@ -56,10 +56,11 @@ COPY --from=pruner /app/out/full/ .
RUN pnpm build --filter=${PROJECT} RUN pnpm build --filter=${PROJECT}
# Copy static files to standalone directory # Copy static files to standalone directory
RUN ls -la && \ RUN pwd && ls -la && \
cp -r /app/apps/web/public .next/standalone/ && \ echo "=== Contents of .next ===" && \
cp -r .next/static .next/standalone/.next/ ls -la .next || true && \
echo "=== Contents of .next/standalone ===" && \
ls -la .next/standalone || true
# 4. Final image - runner stage to run the application # 4. Final image - runner stage to run the application
FROM base AS runner FROM base AS runner
ARG APP_DIRNAME ARG APP_DIRNAME