mirror of
https://github.com/immich-app/immich.git
synced 2024-12-26 10:50:29 +02:00
57f25855d3
* Revert "chore(deps): update node.js to f3299f1 (#7444)" This reverts commitcfb49c8be0
. * Revert "chore(deps): update node.js to f3299f1 (#7443)" This reverts commit2f121af9ec
.
19 lines
462 B
Docker
19 lines
462 B
Docker
FROM node:20-alpine3.19@sha256:c0a3badbd8a0a760de903e00cedbca94588e609299820557e72cba2a53dbaa2c 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"] |