fix(planting-service): Dockerfile 添加 templates 目录复制

PDF 模板和字体文件需要复制到 Docker 容器中

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-25 02:41:22 -08:00
parent c509daa353
commit 6536ff9256
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ RUN DATABASE_URL="postgresql://user:pass@localhost:5432/db" npx prisma generate
# Copy built application
COPY --from=builder /app/dist ./dist
# Copy PDF templates and fonts
COPY templates ./templates/
# Create startup script that runs migrations and seed before starting the app
RUN echo '#!/bin/sh\n\
set -e\n\