Skip to content

Commit 1644905

Browse files
fix(docker): pin playwright browser install to lockfile version
The chromium stage used npx playwright@1 (latest 1.x) to install the browser, but the release stage installs playwright@1.59.1 from the lockfile. When a newer playwright 1.x was released, the browser revision installed in the chromium stage no longer matched what the app expected, causing "Executable doesn't exist" on startup. Pin to 1.59.1 to match pnpm-lock.yaml.
1 parent 4f59f1f commit 1644905

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y \
99
&& rm -rf /var/lib/apt/lists/*
1010

1111
ENV PLAYWRIGHT_BROWSERS_PATH=/pw-browsers
12-
RUN npx playwright@1 install chromium
12+
RUN npx playwright@1.59.1 install chromium
1313

1414
FROM node:${NODE_IMAGE_TAG} AS build
1515

0 commit comments

Comments
 (0)