mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
60afd7b400
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 lines
468 B
Docker
19 lines
468 B
Docker
FROM node:22.11.0-alpine3.20@sha256:f265794478aa0b1a23d85a492c8311ed795bc527c3fe7e43453b3c872dcd71a3 AS core
|
|
|
|
WORKDIR /usr/src/open-api/typescript-sdk
|
|
COPY open-api/typescript-sdk/package*.json open-api/typescript-sdk/tsconfig*.json ./
|
|
RUN npm ci
|
|
COPY open-api/typescript-sdk/ ./
|
|
RUN npm run build
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY cli/package.json cli/package-lock.json ./
|
|
RUN npm ci
|
|
|
|
COPY cli .
|
|
RUN npm run build
|
|
|
|
WORKDIR /import
|
|
|
|
ENTRYPOINT ["node", "/usr/src/app/dist"]
|