Files

34 lines
730 B
Docker

FROM debian:bookworm-slim
ENV DEBIAN_FRONTEND=noninteractive \
LANG=ru_RU.UTF-8 \
LC_ALL=ru_RU.UTF-8 \
LANGUAGE=ru_RU:ru
RUN apt-get update && apt-get install -y --no-install-recommends \
tini \
chromium \
xvfb \
x11vnc \
fluxbox \
freerdp2-x11 \
novnc \
websockify \
python3 \
ca-certificates \
x11-xserver-utils \
x11-utils \
fonts-dejavu-core \
python3-cryptography \
locales \
&& sed -i 's/# ru_RU.UTF-8/ru_RU.UTF-8/' /etc/locale.gen \
&& locale-gen \
&& rm -rf /var/lib/apt/lists/*
COPY entrypoint.sh /entrypoint.sh
COPY manager.py /manager.py
RUN chmod +x /entrypoint.sh
EXPOSE 6080
ENTRYPOINT ["/usr/bin/tini", "--", "/entrypoint.sh"]