FROM node:22 RUN apt update && apt install curl jq xvfb git wget zip unzip libgtk-3-0 libnotify4 libxss1 libxtst6 xdg-utils libatspi2.0-0 libsecret-1-0 dbus libasound2 libnss3 -y WORKDIR /RUN COPY . /RUN RUN wget https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.12_240819_amd64_01.deb -O QQ.deb && \ dpkg -i QQ.deb RUN wget https://github.com/NapNeko/NapCatQQ/releases/download/v2.1.0/NapCat.Shell.zip && \ mkdir ./tmp/ && \ unzip -q -o -d ./tmp NapCat.Shell.zip && \ mkdir -p /opt/QQ/resources/app/app_launcher/napcat && \ cp -r -f ./tmp/* /opt/QQ/resources/app/app_launcher/napcat/ && \ chmod -R 777 /opt/QQ/resources/app/app_launcher/napcat/ RUN rm -rf /opt/QQ/resources/app/app_launcher/index.js && \ mv index.js /opt/QQ/resources/app/app_launcher/ RUN chmod -R 777 /run/* CMD xvfb-run qq --no-sandbox EXPOSE 6099