✅ Run PuppeteerSharp in Docker Container
I have an endpoint that creates PDFs using PuppeteerSharp. I work fine locally because it can automatically download Chromium. The opposite in the Docker Container, it tells me that no executable chromium found. Is there a way to pre download?
6 Replies
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
let's see if it works
I've tried the way it installs on Linux
But if I look into the container there is nothing along this path, let me check if there any docker specific guides
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Maybe they have it, I'll check
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
I build it with
docker compose
and if there is error it shows it in console and process stops. That's why I'm not sure why it's not working for me, while in the guide it works. Now it gives me exception that it's searching chrome inside /App/Chrome/Linux-124.0.6367.60/chrome-linux64/chrome and can't find
This configuration worked for me
Dockerfile
File.cs