From c92ff3971c853e4e55ccd632ff3ee292fcce8315 Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Sun, 19 Oct 2025 11:54:43 -0500 Subject: [PATCH] fix(docker): add qpdf for PDF linearization and validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Python flashcard generator requires qpdf for PDF processing. Without it, the script exits with code 1 even though it prints a warning saying it will skip linearization. Added qpdf to Alpine packages to fix PDF generation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a721367..8d54edb6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,8 +48,8 @@ RUN turbo build --filter=@soroban/web FROM node:18-alpine AS runner WORKDIR /app -# Install Python, pip, build tools for better-sqlite3, and Typst (needed at runtime) -RUN apk add --no-cache python3 py3-pip py3-setuptools make g++ typst +# Install Python, pip, build tools for better-sqlite3, Typst, and qpdf (needed at runtime) +RUN apk add --no-cache python3 py3-pip py3-setuptools make g++ typst qpdf # Create non-root user RUN addgroup --system --gid 1001 nodejs