refactor(core): transition to WPE

This commit is contained in:
2026-07-06 18:10:12 +02:00
parent 2415502d4b
commit e3b4692802
4 changed files with 92 additions and 144 deletions
+7 -6
View File
@@ -1,12 +1,16 @@
FROM node:18-bullseye-slim
FROM node:18-bookworm-slim
# Install dependencies for Chromium and X11
# Install dependencies for WPE WebKit (Cog), X11, and DBus
RUN apt-get update && apt-get install -y \
chromium \
cog \
wpewebkit \
x11-xserver-utils \
wmctrl \
xdotool \
scrot \
jq \
curl \
dbus-x11 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
@@ -18,7 +22,4 @@ COPY server.js ./
COPY start.sh /start.sh
RUN chmod +x /start.sh
# Provide a default user data directory
RUN mkdir -p /data/chromium && chown -R node:node /data
CMD ["/start.sh"]