脚本优化

This commit is contained in:
李寻欢 2024-02-24 11:24:32 +08:00
parent 5f5bb24706
commit fcb1908e29
1 changed files with 3 additions and 3 deletions

View File

@ -11,9 +11,6 @@ RUN apt-get update -y && \
# 安装vnc和自动化相关工具
RUN apt-get install -y supervisor xvfb x11vnc fluxbox novnc xdotool
# 设置 VNC 密码
RUN mkdir ~/.vnc && x11vnc -storepasswd vncpass ~/.vnc/passwd
# 安装中文字体
RUN apt-get install -y ttf-wqy-microhei locales procps \
&& rm -rf /var/lib/apt/lists/* \
@ -48,6 +45,9 @@ RUN useradd -m app && usermod -aG sudo app && echo 'app ALL=(ALL) NOPASSWD:ALL'
USER app
WORKDIR /home/app
# 设置 VNC 密码
RUN mkdir ~/.vnc && x11vnc -storepasswd vncpass ~/.vnc/passwd
# 安装wine-mono和中文字体
COPY install-wine-mono.sh ./
COPY install-wine-chinese.sh ./