Commit 4bc0f3e 1 parent 0aadaf4 commit 4bc0f3e Copy full SHA for 4bc0f3e
File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 2
2
FROM node:23.3.0-slim AS builder
3
3
4
4
# Playwright environment variables
5
- ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
5
+ ENV PLAYWRIGHT_BROWSERS_PATH=/usr/bin \
6
+ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 \
7
+ PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium \
8
+ PLAYWRIGHT_SKIP_BROWSER_VALIDATION=1
6
9
7
10
# Install pnpm globally and install necessary build tools
8
11
RUN npm install -g pnpm@9.4.0 && \
@@ -71,7 +74,10 @@ RUN pnpm prune --prod && \
71
74
FROM node:23.3.0-slim
72
75
73
76
# Playwright environment variables
74
- ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
77
+ ENV PLAYWRIGHT_BROWSERS_PATH=/usr/bin \
78
+ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 \
79
+ PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium \
80
+ PLAYWRIGHT_SKIP_BROWSER_VALIDATION=1
75
81
76
82
# Install runtime dependencies and certificates first
77
83
RUN apt-get update && \
You can’t perform that action at this time.
0 commit comments