fix dockerfile

This commit is contained in:
jxxghp 2023-06-11 10:08:35 +08:00
parent 4329b5c880
commit d8db594bf0
2 changed files with 1 additions and 3 deletions

View File

@ -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" ]

View File

@ -1,6 +1,5 @@
#!/usr/bin/sh
umask ${UMASK}
echo "开始下载浏览器 ..."
playwright install --with-deps chromium
python3 app/main.py