プレイグラウンド、サンドボックス、使い捨てスクリプト置き場
0

Configure Feed

Select the types of activity you want to include in your feed.

create docker-playwright-jwm

Kohei Watanabe (Jul 12, 2022, 7:04 PM +0900) 509d81f0 9b46a8b0

+40
+16
docker-playwright-jwm/Dockerfile
··· 1 + FROM mcr.microsoft.com/playwright:jammy 2 + ARG DEBIAN_FRONTEND=noninteractive 3 + ARG TZ=Asia/Tokyo 4 + RUN apt-get update \ 5 + && apt-get install -y --no-install-recommends \ 6 + jwm \ 7 + novnc \ 8 + supervisor \ 9 + x11vnc \ 10 + xterm \ 11 + && rm -rf /var/lib/apt/lists/* \ 12 + && npm install --global playwright 13 + COPY supervisord.conf /etc/supervisor/supervisord.conf 14 + EXPOSE 8080 15 + ENV DISPLAY=:0 16 + CMD ["supervisord"]
+6
docker-playwright-jwm/compose.yml
··· 1 + services: 2 + app: 3 + image: kou029w/docker-playwright-jwm 4 + build: "." 5 + ipc: host 6 + ports: ["8080:8080"]
+18
docker-playwright-jwm/supervisord.conf
··· 1 + [supervisord] 2 + nodaemon = true 3 + 4 + [program:jwm] 5 + command = jwm 6 + autorestart = true 7 + 8 + [program:websockify] 9 + command = websockify --web /usr/share/novnc 8080 localhost:5900 10 + autorestart = true 11 + 12 + [program:x11vnc] 13 + command = x11vnc -shared -forever 14 + autorestart = true 15 + 16 + [program:xvfb] 17 + command = Xvfb 18 + autorestart = true