Files
immich/packages/cli/Dockerfile
T
bo0tzzandGitHub 4a68a87531 fix: use trixie-slim base image for cli and e2e-auth-server (#30411)
The alpine suffix part wasn't getting updated by renovate, and the 3.20
chain stopped getting node updates too. This also just aligns the base
image distro with what we use elsewere.
2026-07-30 15:14:18 -04:00

13 lines
434 B
Docker

FROM node:24.18.0-trixie-slim@sha256:ae91dcc111a68c9d2d81ff2a17bda61be126426176fde6fe7d08ab13b7f50573 AS core
WORKDIR /usr/src/app
COPY package* pnpm* .pnpmfile.cjs ./
COPY ./packages ./packages/
RUN corepack enable pnpm && \
pnpm --filter @immich/sdk --filter @immich/cli install --frozen-lockfile && \
pnpm --filter @immich/sdk --filter @immich/cli build
WORKDIR /import
ENTRYPOINT ["node", "/usr/src/app/packages/cli/dist"]