From 51dfdfa705de1f2b478af123ed7fcb302b50fabf Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Sat, 17 Apr 2021 22:54:31 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Fix=20docker=20automatic=20updat?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dad8e8e..74ad021 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ RUN ln -sf /usr/bin/python3 /usr/bin/python \ && python -m pip install --upgrade pip \ && pip install wheel \ - && pip install eyed3 pycryptodome + && rm -rf /pagermaid/.cache RUN echo "pagermaid ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/pagermaid RUN useradd pagermaid -r -m -d /pagermaid RUN usermod -aG sudo,users pagermaid @@ -50,5 +50,5 @@ RUN mkdir /pagermaid/workdir RUN git clone -b master https://github.com/Xtao-Labs/PagerMaid-Modify.git /pagermaid/workdir WORKDIR /pagermaid/workdir RUN python -m pip install -r requirements.txt \ - && sudo rm -rf /root/.cache + && rm -rf /pagermaid/.cache CMD ["sh","utils/docker-run.sh"]