Yvan-W commited on
Commit
afd12e9
·
verified ·
1 Parent(s): 8031348

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -3
Dockerfile CHANGED
@@ -1,9 +1,23 @@
1
  FROM debian:12
2
 
3
- RUN apt update && apt install curl git wget zip unzip -y
4
 
5
- RUN curl -o napcat.sh https://nclatest.znin.net/NapNeko/NapCat-Installer/main/script/install.sh && bash napcat.sh
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
  CMD xvfb-run -a qq --no-sandbox
8
 
9
- EXPOSE 6099
 
1
  FROM debian:12
2
 
3
+ RUN apt update && apt install curl jq xvfb git wget zip unzip -y
4
 
5
+ WORKDIR /RUN
6
+
7
+ COPY . /RUN
8
+
9
+ RUN wget https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.12_240902_amd64_01.deb && \
10
+ dpkg -i QQ_3.2.12_240902_amd64_01.deb
11
+
12
+ RUN wget https://github.com/NapNeko/NapCatQQ/releases/download/v2.3.4/NapCat.Shell.zip && \
13
+ mkdir ./tmp/ && \
14
+ unzip -q -o -d ./tmp NapCat.Shell.zip && \
15
+ cp -r -f ./tmp/* /opt/QQ/resources/app/app_launcher/napcat/ && \
16
+ chmod -R 777 /opt/QQ/resources/app/app_launcher/napcat/
17
+
18
+ RUN rm -rf /opt/QQ/resources/app/app_launcher/index.js && \
19
+ mv index.js /opt/QQ/resources/app/app_launcher/
20
 
21
  CMD xvfb-run -a qq --no-sandbox
22
 
23
+ EXPOSE 6099