abc222
Explore posts from serversDeploying without having to do npx playwright install-deps
Hello,
I'm deploying a node.js application that is using playwright, and it needs some dependencies in the container to run playwright well
However, I don't know how to use an image, or a setup that already has those dependencies
For now, I have this in my package.json scripts :
"start": "npx playwright install-deps && vite preview --host 0.0.0.0 --port $PORT"
However, it implies that the command is executed at every deployment, and it may just consume CPU power and slow down deployment, so I'm searching for a more elegant and efficient way of deploying with those playwright dependencies
It would be awesome if I could get some help to solve that issue !58 replies