mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-18 22:06:41 +08:00
fix: qq data path
This commit is contained in:
parent
31ea80c5be
commit
4945c6b564
@ -1,5 +1,7 @@
|
||||
FROM mlikiowa/napcat-docker:base
|
||||
|
||||
RUN useradd --no-log-init -d /app napcat
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY NapCat.Shell.zip entrypoint.sh /app/
|
||||
@ -9,7 +11,6 @@ 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.12_240819_${arch}_01.deb && \
|
||||
dpkg -i --force-depends linuxqq.deb && rm linuxqq.deb && \
|
||||
chmod +x entrypoint.sh && \
|
||||
useradd -m napcat && \
|
||||
echo "(async () => {await import('file:///app/napcat/napcat.mjs');})();" > /opt/QQ/resources/app/app_launcher/index.js
|
||||
|
||||
VOLUME /app/napcat/config
|
||||
|
||||
Loading…
Reference in New Issue
Block a user