ITADN

fix: Update the Dockerfile to add the installation of the mise plugin…

#642Pull Requestnick322 创建于 2025-11-20
N
nick322commented
… and the related environment variable settings, and fix the startup error. see log :https://ci-tests.imagegenius.io/immich/openvino-v2.3.1-ig135/index.html Due to an issue during startup where the system cannot find /app/immich/data/corePlugin/manifest.json, I checked the Dockerfile in more detail: ```yaml FROM builder AS plugins COPY --from=ghcr.io/jdx/mise:2025.11.3@sha256:ac26f5978c0e2783f3e68e58ce75eddb83e41b89bf8747c503bac2aa9baf22c5 /usr/local/bin/mise /usr/local/bin/mise WORKDIR /usr/src/app COPY ./plugins/mise.toml ./plugins/ ENV MISE_TRUSTED_CONFIG_PATHS=/usr/src/app/plugins/mise.toml ENV MISE_DATA_DIR=/buildcache/mise RUN --mount=type=cache,id=mise-tools,target=/buildcache/mise \ mise install --cd plugins COPY ./plugins ./plugins/ # Build plugins RUN --mount=type=cache,id=pnpm-plugins,target=/buildcache/pnpm-store \ --mount=type=bind,source=package.json,target=package.json \ --mount=type=bind,source=.pnpmfile.cjs,target=.pnpmfile.cjs \ --mount=type=bind,source=pnpm-lock.yaml,target=pnpm-lock.yaml \ --mount=type=bind,source=pnpm-workspace.yaml,target=pnpm-workspace.yaml \ --mount=type=cache,id=mise-tools,target=/buildcache/mise \ cd plugins && mise run build FROM ghcr.io/immich-app/base-server-prod:202511041104@sha256:57c0379977fd5521d83cdf661aecd1497c83a9a661ebafe0a5243a09fc1064cb WORKDIR /usr/src/app ENV NODE_ENV=production \ NVIDIA_DRIVER_CAPABILITIES=all \ NVIDIA_VISIBLE_DEVICES=all COPY --from=server /output/server-pruned ./server COPY --from=web /usr/src/app/web/build /build/www COPY --from=cli /output/cli-pruned ./cli COPY --from=plugins /usr/src/app/plugins/dist /build/corePlugin/dist COPY --from=plugins /usr/src/app/plugins/manifest.json /build/corePlugin/manifest.json ``` I tried to fix it so that the system could start properly.
合并状态:未合并 3 条评论