25 lines
645 B
Text
25 lines
645 B
Text
FROM mcr.microsoft.com/playwright/python:v1.52.0-jammy
|
|
|
|
WORKDIR /app
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV TZ=Etc/UTC
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
tzdata \
|
|
xvfb \
|
|
fluxbox \
|
|
x11vnc \
|
|
novnc \
|
|
websockify \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt /app/requirements.txt
|
|
RUN pip install --no-cache-dir -r /app/requirements.txt
|
|
|
|
COPY main.py /app/main.py
|
|
COPY README.md /app/README.md
|
|
COPY scripts/start-novnc-configure.sh /app/scripts/start-novnc-configure.sh
|
|
RUN chmod +x /app/scripts/start-novnc-configure.sh
|
|
|
|
ENTRYPOINT ["/app/scripts/start-novnc-configure.sh"]
|