Replies: 1 comment
-
Related discussion: https://github.com/serversideup/spin-template-laravel-pro/discussions/23 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good day!
As advised on the group chat, I am here to open up a discussion regarding Spatie Laravel PDF.
Before anything else, here are the relevant links for this discussion:
The Spatie Laravel PDF package enables us to create PDFs from Blade views in our Laravel apps. It uses Chromium behind the scenes. The problem is that the Spin PHP image does not have
npm
by default. In a Spin setup, there is another Docker container fornode
but that is not deployed in the production environment.Right now, I have two paths: mess around with the
Dockerfile.php
or pick on of the non-Chromium-based alternatives. But as much as possible, I'd like to use this package if I can which is why I opened this discussion in the first place.Thank you for reading and I hope you can share with me the solutions you come up with.
For reference, here's my current
Dockerfile.php
file:Beta Was this translation helpful? Give feedback.
All reactions