2025-01-06 23:20:26 UTC
604 MB
/config
DISPLAY:987
GPG_KEYA035C8C19219BA821ECEA86B64E628F8D684696D
HOME/moviepilot
LANGC.UTF-8
MOVIEPILOT_AUTO_UPDATErelease
NGINX_PORT3000
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID0
PORT3001
PUID0
PYTHON_GET_PIP_SHA25645a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
PYTHON_PIP_VERSION23.1.2
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.4
TERMxterm
TZAsia/Shanghai
UMASK000
[#000] sha256:52d2b7f179e32b4cbd579ee3c4958027988f9a8274850ab0c7c24661e3adaac5 - 4.59% (27.8 MB)
[#001] sha256:2b8a9a2240c1224b34f6aafbc3310f9a3fe65bd6893050906d02e89fc8326aa9 - 0.55% (3.34 MB)
[#002] sha256:051d6521462a7eb4ca0374e97701d6eec68eb51b118d3ef5d002798b498fb12e - 2.82% (17 MB)
[#003] sha256:fce84b1f897c621e9474bd4d5a49e2e22fa35e248e78e754010d34ec3d2d28cd - 0.0% (245 Bytes)
[#004] sha256:46233543d8c2dc599bdb9d522180ca9e14cad4ac2017a5dc481660bfa4aa3ed9 - 0.53% (3.22 MB)
[#005] sha256:4af028b212ee41f17b95217035e015fb7d9f10d03aabed617fd98c40df28974c - 0.0% (93 Bytes)
[#006] sha256:474a76a153553524a64e9c39b3460434c7761696e5cf058be71b8268d6beb279 - 56.93% (344 MB)
[#007] sha256:6b0a8e68f6019262fed4ffee8da90b5ffa4780490b1ab797f57b29e1c53e788b - 0.0% (848 Bytes)
[#008] sha256:4ede622e7a0b6fa0b18f75679dbdb90ced4beabfc887c30fe7b51fabccab3ceb - 29.62% (179 MB)
[#009] sha256:3879b45cc8c7d252e908fd13e479987f92c139727a1f5c27c10982112bb8d998 - 0.09% (533 KB)
[#010] sha256:ecbef217609ced656443928d760c87b3d55ccd3fd3a490c38d77a8405ecf106e - 4.86% (29.4 MB)
/bin/sh -c #(nop) ADD file:997f5a9b32407d96efac41a1cfafb318f77de077c8b5cd7065b6ec9796b4bf5e in /
2023-08-16 00:59:47 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.4
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; python3 --version # buildkit
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.1.2
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-12-28 12:11:00 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8 TZ=Asia/Shanghai HOME=/moviepilot CONFIG_DIR=/config TERM=xterm DISPLAY=:987 PUID=0 PGID=0 UMASK=000 PORT=3001 NGINX_PORT=3000 MOVIEPILOT_AUTO_UPDATE=release
2024-12-28 12:11:00 UTC (buildkit.dockerfile.v0)WORKDIR /app
2024-12-28 12:11:52 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update -y && apt-get upgrade -y && apt-get -y install musl-dev nginx gettext-base locales procps gosu bash wget curl busybox dumb-init jq fuse3 rsync ffmpeg nano && if [ "$(uname -m)" = "x86_64" ]; then ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1; elif [ "$(uname -m)" = "aarch64" ]; then ln -s /usr/lib/aarch64-linux-musl/libc.so /lib/libc.musl-aarch64.so.1; fi && curl https://rclone.org/install.sh | bash && curl --insecure -fsSL https://raw.githubusercontent.com/DDS-Derek/Aria2-Pro-Core/master/aria2-install.sh | bash && apt-get autoremove -y && apt-get clean -y && rm -rf /tmp/* /moviepilot/.cache /var/lib/apt/lists/* /var/tmp/* # buildkit
2024-12-28 12:11:52 UTC (buildkit.dockerfile.v0)COPY requirements.in requirements.in # buildkit
2024-12-28 12:13:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update -y && apt-get install -y build-essential && pip install --upgrade pip && pip install Cython pip-tools && pip-compile requirements.in && pip install -r requirements.txt && playwright install-deps chromium && apt-get remove -y build-essential && apt-get autoremove -y && apt-get clean -y && rm -rf /tmp/* /moviepilot/.cache /var/lib/apt/lists/* /var/tmp/* # buildkit
2025-01-06 23:20:23 UTC (buildkit.dockerfile.v0)COPY . . # buildkit
2025-01-06 23:20:26 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c cp -f /app/nginx.conf /etc/nginx/nginx.template.conf && cp -f /app/update /usr/local/bin/mp_update && cp -f /app/entrypoint /entrypoint && cp -f /app/docker_http_proxy.conf /etc/nginx/docker_http_proxy.conf && chmod +x /entrypoint /usr/local/bin/mp_update && mkdir -p ${HOME} && groupadd -r moviepilot -g 918 && useradd -r moviepilot -g moviepilot -d ${HOME} -s /bin/bash -u 918 && python_ver=$(python3 -V | awk '{print $2}') && echo "/app/" > /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 && locale-gen zh_CN.UTF-8 && FRONTEND_VERSION=$(sed -n "s/^FRONTEND_VERSION\s*=\s*'\([^']*\)'/\1/p" /app/version.py) && curl -sL "https://github.com/jxxghp/MoviePilot-Frontend/releases/download/${FRONTEND_VERSION}/dist.zip" | busybox unzip -d / - && mv /dist /public && curl -sL "https://github.com/jxxghp/MoviePilot-Plugins/archive/refs/heads/main.zip" | busybox unzip -d /tmp - && mv -f /tmp/MoviePilot-Plugins-main/plugins.v2/* /app/app/plugins/ && cat /tmp/MoviePilot-Plugins-main/package.json | jq -r 'to_entries[] | select(.value.v2 == true) | .key' | awk '{print tolower($0)}' | 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/* # buildkit
2025-01-06 23:20:26 UTC (buildkit.dockerfile.v0)EXPOSE map[3000/tcp:{}]
2025-01-06 23:20:26 UTC (buildkit.dockerfile.v0)VOLUME [/config]
2025-01-06 23:20:26 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint"]
2025-01-06 23:20:33 UTC
568 MB
/config
DISPLAY:987
GPG_KEYA035C8C19219BA821ECEA86B64E628F8D684696D
HOME/moviepilot
LANGC.UTF-8
MOVIEPILOT_AUTO_UPDATErelease
NGINX_PORT3000
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID0
PORT3001
PUID0
PYTHON_GET_PIP_SHA25645a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
PYTHON_PIP_VERSION23.1.2
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.4
TERMxterm
TZAsia/Shanghai
UMASK000
[#000] sha256:4ee097f9a36616fddb52e45aba72142c4bc6f2e594f0a746e406acfde4f02f51 - 4.89% (27.8 MB)
[#001] sha256:493e98a6d531d3e898241b29e0b8e182289a651c4f9f7d67bb1f50d9811a1b43 - 0.56% (3.17 MB)
[#002] sha256:ed400aec434dd69b5fec2ef7cf80866b6b17455124631ccf81dc46fda19eb2d3 - 2.83% (16.1 MB)
[#003] sha256:a18610e9d04ba666042cc81099c8673493d266d52fc73d8a3e5bf72b4f0023e8 - 0.0% (245 Bytes)
[#004] sha256:195bd9e1cc4ce5c5a37dd5aa84655124ccb493c78fedcdd7c51e032f170791f2 - 0.57% (3.22 MB)
[#005] sha256:4af028b212ee41f17b95217035e015fb7d9f10d03aabed617fd98c40df28974c - 0.0% (93 Bytes)
[#006] sha256:31c007496a8dc30aa896c938324be846c09e524aba820e72903636d6069795a4 - 55.1% (313 MB)
[#007] sha256:d601535b57b0addfae5df83c7a8c5178be2ca141eb508d7ecd3a975ce29ab1fc - 0.0% (850 Bytes)
[#008] sha256:1621516f2f7a477b79bc545fd40ab35f287cff33fc08d3fec11290187f6e80ec - 30.79% (175 MB)
[#009] sha256:3879b45cc8c7d252e908fd13e479987f92c139727a1f5c27c10982112bb8d998 - 0.09% (533 KB)
[#010] sha256:f728e0b9fb61873dc2db43971f879c290d37dbb3a95528f1f72971056ce75bd4 - 5.17% (29.4 MB)
/bin/sh -c #(nop) ADD file:bc58956fa3d1aff2efb0264655d039fedfff28dc4ff19a65a235e82754ee1cfa in /
2023-08-15 23:39:57 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.4
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; python3 --version # buildkit
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.1.2
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit
2023-07-22 09:54:20 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-12-28 12:11:00 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8 TZ=Asia/Shanghai HOME=/moviepilot CONFIG_DIR=/config TERM=xterm DISPLAY=:987 PUID=0 PGID=0 UMASK=000 PORT=3001 NGINX_PORT=3000 MOVIEPILOT_AUTO_UPDATE=release
2024-12-28 12:11:00 UTC (buildkit.dockerfile.v0)WORKDIR /app
2024-12-28 12:15:59 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update -y && apt-get upgrade -y && apt-get -y install musl-dev nginx gettext-base locales procps gosu bash wget curl busybox dumb-init jq fuse3 rsync ffmpeg nano && if [ "$(uname -m)" = "x86_64" ]; then ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1; elif [ "$(uname -m)" = "aarch64" ]; then ln -s /usr/lib/aarch64-linux-musl/libc.so /lib/libc.musl-aarch64.so.1; fi && curl https://rclone.org/install.sh | bash && curl --insecure -fsSL https://raw.githubusercontent.com/DDS-Derek/Aria2-Pro-Core/master/aria2-install.sh | bash && apt-get autoremove -y && apt-get clean -y && rm -rf /tmp/* /moviepilot/.cache /var/lib/apt/lists/* /var/tmp/* # buildkit
2024-12-28 12:15:59 UTC (buildkit.dockerfile.v0)COPY requirements.in requirements.in # buildkit
2024-12-28 12:24:42 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update -y && apt-get install -y build-essential && pip install --upgrade pip && pip install Cython pip-tools && pip-compile requirements.in && pip install -r requirements.txt && playwright install-deps chromium && apt-get remove -y build-essential && apt-get autoremove -y && apt-get clean -y && rm -rf /tmp/* /moviepilot/.cache /var/lib/apt/lists/* /var/tmp/* # buildkit
2025-01-06 23:20:23 UTC (buildkit.dockerfile.v0)COPY . . # buildkit
2025-01-06 23:20:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c cp -f /app/nginx.conf /etc/nginx/nginx.template.conf && cp -f /app/update /usr/local/bin/mp_update && cp -f /app/entrypoint /entrypoint && cp -f /app/docker_http_proxy.conf /etc/nginx/docker_http_proxy.conf && chmod +x /entrypoint /usr/local/bin/mp_update && mkdir -p ${HOME} && groupadd -r moviepilot -g 918 && useradd -r moviepilot -g moviepilot -d ${HOME} -s /bin/bash -u 918 && python_ver=$(python3 -V | awk '{print $2}') && echo "/app/" > /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 && locale-gen zh_CN.UTF-8 && FRONTEND_VERSION=$(sed -n "s/^FRONTEND_VERSION\s*=\s*'\([^']*\)'/\1/p" /app/version.py) && curl -sL "https://github.com/jxxghp/MoviePilot-Frontend/releases/download/${FRONTEND_VERSION}/dist.zip" | busybox unzip -d / - && mv /dist /public && curl -sL "https://github.com/jxxghp/MoviePilot-Plugins/archive/refs/heads/main.zip" | busybox unzip -d /tmp - && mv -f /tmp/MoviePilot-Plugins-main/plugins.v2/* /app/app/plugins/ && cat /tmp/MoviePilot-Plugins-main/package.json | jq -r 'to_entries[] | select(.value.v2 == true) | .key' | awk '{print tolower($0)}' | 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/* # buildkit
2025-01-06 23:20:33 UTC (buildkit.dockerfile.v0)EXPOSE map[3000/tcp:{}]
2025-01-06 23:20:33 UTC (buildkit.dockerfile.v0)VOLUME [/config]
2025-01-06 23:20:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint"]