Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies & Dockerfile #217

Merged
merged 14 commits into from
Nov 28, 2023
Merged

Update dependencies & Dockerfile #217

merged 14 commits into from
Nov 28, 2023

Conversation

swiknaba
Copy link
Contributor

@swiknaba swiknaba commented Nov 28, 2023

Tested locally:

  • build docker image ✅
  • run docker image ✅
  • send HTML to the endpoint ✅
  • verify the returned Base64 string is a valid PDF ✅

After merge

  • create release v1.2.0
  • push new tag to Dockerhub

@@ -45,6 +48,9 @@ export default class Generator {
}
}

// https://developer.chrome.com/articles/new-headless/
puppeteerOptions.headless = 'new'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've done several tests locally, and with this option, PDFs are generated much faster.

@dblworks dblworks assigned swiknaba and unassigned bruno-goncalves Nov 28, 2023
@swiknaba swiknaba merged commit c5ecb0d into main Nov 28, 2023
4 checks passed
@swiknaba swiknaba deleted the lud/updates branch November 28, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants