Update Dockerfile

This commit is contained in:
手瓜一十雪 2024-05-03 22:19:54 +08:00 committed by GitHub
parent 8f2530f62d
commit 5efb9115e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,9 @@ RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
dpkg -i --force-depends linuxqq.deb && rm linuxqq.deb dpkg -i --force-depends linuxqq.deb && rm linuxqq.deb
# 安装 napcat # 安装 napcat
RUN unzip NapCat.linux.zip -d napcat && \ RUN rarch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
unzip NapCat.linux.zip -d napcat && \
mv ./napcat/NapCat.linux.${arch}/* ./
rm NapCat.linux.zip && \ rm NapCat.linux.zip && \
ln -s /usr/bin/ffmpeg ./ffmpeg && \ ln -s /usr/bin/ffmpeg ./ffmpeg && \
chmod +x napcat/napcat.sh && \ chmod +x napcat/napcat.sh && \