From d8db594bf05dc57d8a28a6fdca9e4572777c3c11 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 11 Jun 2023 10:08:35 +0800 Subject: [PATCH] fix dockerfile --- Dockerfile | 3 +-- start.sh | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b7d5e1ba..10357450 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,8 +41,7 @@ RUN apt-get update \ && echo "${WORKDIR}/" > /usr/local/lib/python${python_ver%.*}/site-packages/app.pth \ && echo 'fs.inotify.max_user_watches=5242880' >> /etc/sysctl.conf \ && echo 'fs.inotify.max_user_instances=5242880' >> /etc/sysctl.conf \ - && rm -rf /root/.cache/ \ - && chmod +x "${WORKDIR}/start.sh" + && rm -rf /root/.cache/ EXPOSE 3001 VOLUME ["/config"] ENTRYPOINT [ "/MoviePilot/start.sh" ] diff --git a/start.sh b/start.sh index ac8bc015..13405c3e 100644 --- a/start.sh +++ b/start.sh @@ -1,6 +1,5 @@ #!/usr/bin/sh umask ${UMASK} -echo "开始下载浏览器 ..." playwright install --with-deps chromium python3 app/main.py