FROM ghcr.io/cheymin/snowluma:7d5d0c0 USER root RUN apt-get update && apt-get install -y \ nginx \ python3-websockify \ novnc \ curl \ && rm -rf /var/lib/apt/lists/* # Node.js 22 RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \ apt-get install -y nodejs && \ rm -rf /var/lib/apt/lists/* # 删掉有权限问题的官方 Node RUN rm -f /usr/local/bin/node /usr/local/bin/npm /usr/local/bin/npx RUN mkdir -p /var/log/nginx /var/lib/nginx /tmp/nginx /root/.vnc COPY nginx.conf /etc/nginx/nginx.conf COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]