Fix playwright-server docker image not exiting (#33099)

* Fix playwright-server docker image not exiting

... by wrapping with tini

* Remove redundant `npm exec`

* Update packages/playwright-common/Dockerfile

* missing comma
This commit is contained in:
Richard van der Hoff
2026-04-10 12:31:03 +00:00
committed by GitHub
parent b860a3864d
commit a132b9167d
2 changed files with 11 additions and 4 deletions
@@ -1,4 +1,2 @@
#!/bin/bash
# We use npm here as we used `npm i -g` to install playwright in the Dockerfile
npm exec -- playwright run-server --port "$PORT" --host 0.0.0.0
exec /usr/bin/playwright run-server --port "$PORT" --host 0.0.0.0