Skip to content

Commit 4bc0f3e

Browse files
committed
fx dckr again
1 parent 0aadaf4 commit 4bc0f3e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Dockerfile

+8-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
FROM node:23.3.0-slim AS builder
33

44
# 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
69

710
# Install pnpm globally and install necessary build tools
811
RUN npm install -g pnpm@9.4.0 && \
@@ -71,7 +74,10 @@ RUN pnpm prune --prod && \
7174
FROM node:23.3.0-slim
7275

7376
# 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
7581

7682
# Install runtime dependencies and certificates first
7783
RUN apt-get update && \

0 commit comments

Comments
 (0)