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

asked a year ago42 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions