mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 14:41:33 +08:00
fix: xvfb for way03
This commit is contained in:
parent
14ac2ddb6d
commit
37bdc4228d
@ -8,7 +8,8 @@ COPY NapCat.linux.arm64.zip NapCat.linux.x64.zip entrypoint.sh .
|
|||||||
RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
|
RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
|
||||||
curl -o linuxqq.deb https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.9_240606_${arch}_01.deb && \
|
curl -o linuxqq.deb https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.9_240606_${arch}_01.deb && \
|
||||||
dpkg -i --force-depends linuxqq.deb && rm linuxqq.deb && \
|
dpkg -i --force-depends linuxqq.deb && rm linuxqq.deb && \
|
||||||
chmod +x entrypoint.sh
|
chmod +x entrypoint.sh && \
|
||||||
|
sed -i "1i\(async () => {await import('file:///usr/src/app/napcat//napcat/napcat.mjs');})();" /opt/QQ/resources/app/app_launcher/index.js && \
|
||||||
VOLUME /usr/src/app/napcat/config
|
VOLUME /usr/src/app/napcat/config
|
||||||
VOLUME /root/.config/QQ
|
VOLUME /root/.config/QQ
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user