提升版本

This commit is contained in:
手瓜一十雪 2024-12-24 15:28:10 +08:00 committed by GitHub
parent 8a97ed93d7
commit 46aa94acbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,10 +5,9 @@ RUN useradd --no-log-init -d /app napcat
WORKDIR /app
COPY NapCat.Shell.zip entrypoint.sh /app/
# 安装Linux QQ
RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
curl -o linuxqq.deb https://dldir1.qq.com/qqfile/qq/QQNT/833d113c/linuxqq_3.2.13-29927_${arch}.deb && \
curl -o linuxqq.deb https://dldir1.qq.com/qqfile/qq/QQNT/63c751e8/linuxqq_3.2.15-30899_${arch}.deb && \
dpkg -i --force-depends linuxqq.deb && rm linuxqq.deb && \
chmod +x entrypoint.sh && \
echo "(async () => {await import('file:///app/napcat/napcat.mjs');})();" > /opt/QQ/resources/app/loadNapCat.js && \