Skip to content

Commit 4fcd323

Browse files
committed
fx docker
1 parent 4e6b32f commit 4fcd323

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

+6-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,12 @@ FROM node:23.3.0-slim
7575
# Playwright environment variables
7676
ENV PLAYWRIGHT_BROWSERS_PATH=/usr/bin \
7777
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 \
78-
PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium
78+
PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium \
79+
PLAYWRIGHT_BROWSER_ARGS="--no-sandbox,--disable-setuid-sandbox,--disable-gpu,--disable-software-rasterizer,--disable-dev-shm-usage,--disable-dbus" \
80+
PLAYWRIGHT_HEADLESS=true \
81+
PLAYWRIGHT_SKIP_BROWSER_VALIDATION=1 \
82+
DISPLAY= \
83+
XAUTHORITY=
7984

8085
# Install runtime dependencies and certificates first
8186
RUN apt-get update && \

0 commit comments

Comments
 (0)