mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-20 23:22:08 +08:00
chore: drop supervisord
This commit is contained in:
parent
20026ea927
commit
6db093c7f8
@ -16,11 +16,5 @@ RUN rarch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/x64/) && \
|
|||||||
chmod +x napcat/napcat.sh && \
|
chmod +x napcat/napcat.sh && \
|
||||||
chmod +x entrypoint.sh
|
chmod +x entrypoint.sh
|
||||||
|
|
||||||
# 配置 supervisord
|
|
||||||
RUN echo "[supervisord]" > /etc/supervisord.conf && \
|
|
||||||
echo "nodaemon=true" >> /etc/supervisord.conf && \
|
|
||||||
echo "[program:napcat]" >> /etc/supervisord.conf && \
|
|
||||||
echo "command=COMMAND" >> /etc/supervisord.conf
|
|
||||||
|
|
||||||
ENTRYPOINT ["bash", "entrypoint.sh"]
|
ENTRYPOINT ["bash", "entrypoint.sh"]
|
||||||
|
|
||||||
|
|||||||
@ -21,8 +21,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
libx11-xcb1 \
|
libx11-xcb1 \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
unzip \
|
unzip \
|
||||||
curl \
|
curl && \
|
||||||
supervisor && \
|
|
||||||
apt autoremove -y && \
|
apt autoremove -y && \
|
||||||
apt clean && \
|
apt clean && \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user