forked from colin/resume
2
0
Fork 0
Commit Graph

3 Commits

Author SHA1 Message Date
Colin 73c4533926
Fix PDF generation: wait for includes to load and improve error handling 2025-12-01 14:49:58 -05:00
Colin 8b1a1e23bf
Fix Puppeteer Chrome launch in Alpine Linux Docker
- Install Chromium and required system libraries (nss, freetype, harfbuzz, etc.)
- Set PUPPETEER_SKIP_CHROMIUM_DOWNLOAD to use system Chromium
- Add additional Chrome args for better compatibility in container
- Configure package.json to skip Chromium download
- Fixes 'Failed to launch the browser process' error
2025-11-30 16:40:29 -05:00
Colin 19182d6d21
Add PDF generation to Docker build process
- Update Dockerfile to install npm and run PDF generation during build
- Move generate-pdfs.js and package.json to docker/resume/ for Docker context
- Update generate-pdfs.js to work from /srv directory in container
- PDFs are now generated automatically during Docker build before deployment
- PDFs will be available at /pdfs/ path matching HTML file structure
2025-11-30 16:11:30 -05:00