mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-27 11:11:07 +08:00
fix:build lite
This commit is contained in:
1
.github/workflows/bulit-lite.yml
vendored
1
.github/workflows/bulit-lite.yml
vendored
@@ -48,6 +48,7 @@ jobs:
|
|||||||
file: Dockerfile.lite
|
file: Dockerfile.lite
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64
|
linux/amd64
|
||||||
|
linux/arm64/v8
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|||||||
@@ -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 \
|
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 - \
|
&& 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/ \
|
&& 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
|
EXPOSE 3000
|
||||||
VOLUME [ "/config" ]
|
VOLUME [ "/config" ]
|
||||||
ENTRYPOINT [ "/entrypoint" ]
|
ENTRYPOINT [ "/entrypoint" ]
|
||||||
2
setup.py
2
setup.py
@@ -23,7 +23,7 @@ setup(
|
|||||||
author="jxxghp",
|
author="jxxghp",
|
||||||
ext_modules=cythonize(
|
ext_modules=cythonize(
|
||||||
extensions,
|
extensions,
|
||||||
build_dir="cython_cache",
|
build_dir="build",
|
||||||
compiler_directives={
|
compiler_directives={
|
||||||
"language_level": "3",
|
"language_level": "3",
|
||||||
"auto_pickle": False,
|
"auto_pickle": False,
|
||||||
|
|||||||
Reference in New Issue
Block a user