feat 拆分资源包

This commit is contained in:
jxxghp
2023-11-01 17:27:17 +08:00
parent a0afd86b6a
commit dbba7fc92a
8 changed files with 22 additions and 3 deletions

View File

@ -79,7 +79,13 @@ RUN cp -f /app/nginx.conf /etc/nginx/nginx.template.conf \
&& mv /dist /public \
&& curl -sL "https://github.com/jxxghp/MoviePilot-Plugins/archive/refs/heads/main.zip" | busybox unzip -d / - \
&& mv /MoviePilot-Plugins-main/plugins/* /app/app/plugins/ \
&& rm -rf /MoviePilot-Plugins-main
&& rm -rf /MoviePilot-Plugins-main \
&& curl -sL "https://github.com/jxxghp/MoviePilot-Resources/archive/refs/heads/main.zip" | busybox unzip -d / - \
&& mv /MoviePilot-Resources-main/resources/* /app/app/helper/ \
&& rm -f /app/config/user.sites.bin \
&& mkdir -p /app/config/sites \
&& mv /app/app/helper/user.sites.bin /app/config/sites/user.sites.bin \
&& rm -rf /MoviePilot-Resources-main
EXPOSE 3000
VOLUME [ "/config" ]
ENTRYPOINT [ "/entrypoint" ]