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 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南