fix: correct Typst template path in Dockerfile

Fixed Docker build failure caused by copying non-existent /typst subdirectory.
The .typ template files are in the root of packages/templates/, not in a subdirectory.

Changed from:
  COPY /app/packages/templates/typst (does not exist)

To:
  COPY /app/packages/templates/*.typ (actual files)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock 2025-10-24 13:10:31 -05:00
parent 380f2d7b0c
commit 4c518decb7
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ COPY --from=deps --chown=nextjs:nodejs /app/apps/web/node_modules ./apps/web/nod
COPY --from=builder --chown=nextjs:nodejs /app/packages/core/server ./packages/core/server COPY --from=builder --chown=nextjs:nodejs /app/packages/core/server ./packages/core/server
COPY --from=builder --chown=nextjs:nodejs /app/packages/core/requirements.txt ./packages/core/requirements.txt COPY --from=builder --chown=nextjs:nodejs /app/packages/core/requirements.txt ./packages/core/requirements.txt
# Copy ONLY Typst templates from templates package (not entire package) # Copy ONLY Typst template files from templates package (not entire package)
COPY --from=builder --chown=nextjs:nodejs /app/packages/templates/typst ./packages/templates/typst COPY --from=builder --chown=nextjs:nodejs /app/packages/templates/*.typ ./packages/templates/
COPY --from=builder --chown=nextjs:nodejs /app/packages/templates/package.json ./packages/templates/package.json COPY --from=builder --chown=nextjs:nodejs /app/packages/templates/package.json ./packages/templates/package.json
# Install Python dependencies for flashcard generation # Install Python dependencies for flashcard generation