linux-terminal / Dockerfile
lljz66's picture
Upload Dockerfile
38b1621 verified
Raw
History Blame Contribute Delete
831 Bytes
FROM dorowu/ubuntu-desktop-lxde-vnc:focal
ENV DEBIAN_FRONTEND=noninteractive
# Install Wine
RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y --no-install-recommends \
wget \
gnupg2 \
software-properties-common && \
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | apt-key add - && \
add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' && \
apt-get update && \
apt-get install -y --install-recommends winehq-stable && \
apt-get install -y winetricks && \
rm -rf /var/lib/apt/lists/*
# The base image already provides:
# - LXDE desktop environment
# - noVNC on port 80
# - x11vnc, Xvfb, supervisord
# - Firefox, file manager, terminal
# Remap noVNC to port 7860 for Hugging Face
ENV HTTP_PORT=7860
EXPOSE 7860