From d9a769403187bf70fb069be7ffe77417a62271a5 Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Sat, 18 Oct 2025 18:26:07 -0500 Subject: [PATCH] fix: add Typst to Docker image for flashcard generation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The flashcard generator requires both Python and Typst to work. Added typst to the runtime dependencies in the Dockerfile. This fixes the issue where flashcards work in dev but fail in production. 🤖 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 d2bbca7c..ab938b1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,8 +33,8 @@ RUN turbo build --filter=@soroban/web FROM node:18-alpine AS runner WORKDIR /app -# Install Python and build tools for better-sqlite3 (needed at runtime) -RUN apk add --no-cache python3 py3-setuptools make g++ +# Install Python, build tools for better-sqlite3, and Typst (needed at runtime) +RUN apk add --no-cache python3 py3-setuptools make g++ typst # Create non-root user RUN addgroup --system --gid 1001 nodejs