fix:build lite

This commit is contained in:
jxxghp
2025-03-23 14:48:20 +08:00
parent a92cc9dce9
commit 850d480c7c
3 changed files with 3 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ jobs:
file: Dockerfile.lite
platforms: |
linux/amd64
linux/arm64/v8
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

View File

@@ -87,7 +87,7 @@ RUN cp -f /app/nginx.conf /etc/nginx/nginx.template.conf \
while read -r i; do if [ ! -d "/app/app/plugins/$i" ]; then mv "/tmp/MoviePilot-Plugins-main/plugins/$i" "/app/app/plugins/"; else echo "跳过 $i"; fi; done \
&& curl -sL "https://github.com/jxxghp/MoviePilot-Resources/archive/refs/heads/main.zip" | busybox unzip -d /tmp - \
&& mv -f /tmp/MoviePilot-Resources-main/resources/* /app/app/helper/ \
&& rm -rf /tmp/* /app/build /app/cython_cache
&& rm -rf /tmp/* /app/build
EXPOSE 3000
VOLUME [ "/config" ]
ENTRYPOINT [ "/entrypoint" ]

View File

@@ -23,7 +23,7 @@ setup(
author="jxxghp",
ext_modules=cythonize(
extensions,
build_dir="cython_cache",
build_dir="build",
compiler_directives={
"language_level": "3",
"auto_pickle": False,