FROM node:20.17.0-alpine3.20@sha256:1a526b97cace6b4006256570efa1a29cd1fe4b96a5301f8d48e87c5139438a45 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"]