mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
b5b0c6fe8b
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
20 lines
468 B
Docker
20 lines
468 B
Docker
FROM node:20.15.0-alpine3.19@sha256:c39be8a03811d866e0f5e18fcd2065a914931a3c0830b29403017db3def59d91 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"]
|