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

demandé il y a un an43 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions