DEV Community

Discussion on: How to use Puppeteer inside a Docker container

Collapse
 
brassel profile image
Captain Fim • Edited

When I try to use the docker file above to build an image, I get

#5 7.862 E: Unable to locate package google-chrome-stable

Collapse
 
navarroaxel profile image
Axel Navarro • Edited

Works for me using this Dockerfile gist.github.com/navarroaxel/3f4492..., I built it with

docker build --tag node-chrome .
Enter fullscreen mode Exit fullscreen mode

Are you using another base image instead of FROM node:slim AS app?