I cannot use Playwright package in AWS Elastic Beanstalk

0

Hi,

I cannot use Playwright in Elastic Beanstalk getting error that "Executable doesn't exist at .."

Please see below my configuration:


Dockerfile:

FROM zenika/alpine-chrome:with-playwright

WORKDIR /usr/src/app

ENV PORT 3000

COPY package.json /usr/src/app/ RUN npm install --force

COPY . /usr/src/app

EXPOSE 3000 CMD [ "npm", "start" ]


.ebextensions/chromium.config:

container_commands: install_playwright: command: "npx playwright install"


Elastic Beanstalk log: https://ibb.co/kM87fJh

I hope you can help with the issue.

Cheers, Shaz

feita há um ano43 visualizações
Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas