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

已提问 1 年前43 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则