fix(docker): add qpdf for PDF linearization and validation
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 <noreply@anthropic.com>
This commit is contained in:
parent
50afc3111d
commit
c92ff3971c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue