playwright docker mcp with vnc

This commit is contained in:
2025-06-30 16:49:19 -06:00
parent 5e51176d8a
commit b3016e0f0b
4 changed files with 105 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
FROM python:3.10-slim
RUN apt-get update && \
apt-get install -y git curl && \
git clone https://github.com/novnc/noVNC.git /opt/novnc && \
pip install websockify && \
apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /opt/novnc
RUN echo '<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=/vnc.html"></head><body></body></html>' > /opt/novnc/index.html
EXPOSE 6080
CMD ["websockify", "--web=/opt/novnc", "6080", "playwright:5900"]