From d75010466d2ea2d78f9d215a3cb88bb060f75b50 Mon Sep 17 00:00:00 2001 From: Alexander Onnikov Date: Mon, 5 Aug 2024 18:13:01 +0700 Subject: [PATCH] fix: rekoni service build (#6255) Signed-off-by: Alexander Onnikov --- services/rekoni/package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/services/rekoni/package.json b/services/rekoni/package.json index a842386a7f..d3291cee99 100644 --- a/services/rekoni/package.json +++ b/services/rekoni/package.json @@ -16,9 +16,11 @@ "_phase:bundle": "rushx bundle", "_phase:docker-build": "rushx docker:build", "_phase:docker-staging": "rushx docker:staging", - "docker:build": "docker build -t hardcoreeng/rekoni-service .", - "docker:staging": "./docker_tag.sh hardcoreeng/rekoni-service staging", - "docker:push": "./docker_tag.sh hardcoreeng/rekoni-service", + "docker:build": "../../common/scripts/docker_build.sh hardcoreeng/rekoni-service", + "docker:tbuild": "docker build -t hardcoreeng/rekoni-service . --platform=linux/amd64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/rekoni-service", + "docker:abuild": "docker build -t hardcoreeng/rekoni-service . --platform=linux/arm64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/rekoni-service", + "docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/rekoni-service staging", + "docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/rekoni-service", "bundle": "node esbuild.js", "start": "ts-node-dev src/index.ts", "run-local": "cross-env ts-node src/index.ts",