FROM node:20-alpine3.19@sha256:2d0ce60a5c7bfa2bcdcfa7d463d8f8b7b16cab55051562606a9dc32c8a8169a9 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"]