Skip to content

Commit

Permalink
sync image
Browse files Browse the repository at this point in the history
  • Loading branch information
azep-ninja committed Jan 1, 2025
1 parent c4b86d5 commit 90ac5d9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ RUN pnpm install --frozen-lockfile || \

# Build with detailed logging
RUN set -e && \
if ! pnpm build-docker; then \
echo "Build failed, showing detailed logs:" && \
find . -name "*.log" -type f -exec cat {} + && \
exit 1; \
fi
PNPM_DEBUG=1 pnpm build-docker || \
(echo "Build failed, showing detailed logs:" && \
find . -name "*.log" -type f -exec cat {} + && \
exit 1)

# Prune for production
RUN pnpm prune --prod && \
Expand Down

0 comments on commit 90ac5d9

Please sign in to comment.