napcat / Dockerfile
flyminos's picture
Update Dockerfile
67806cd verified
Raw
History Blame Contribute Delete
640 Bytes
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"]