Skip to content
Discussion options

You must be logged in to vote

I found the problem. I use docker with laradock, so, first I need to install puppeteer in php-fpm and workspace containers.

.env file on laradock folder

WORKSPACE_INSTALL_PUPPETEER=true
PHP_FPM_INSTALL_PUPPETEER=true

docker-compose.yaml on laradock folder

    workspace:
      build:
        args:
          - INSTALL_PUPPETEER=${WORKSPACE_INSTALL_PUPPETEER}

    php-fpm:
      build:
        args:
          - INSTALL_PUPPETEER=${PHP_FPM_INSTALL_PUPPETEER}

Dockerfile inside of php-fpm and workspace

###########################################################################
# PUPPETEER
###########################################################################

USER root

ARG INSTALL_PUPPETE…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alvaro-canepa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant