diff --git a/email-worker/Dockerfile b/email-worker/Dockerfile index 3498294..f0fcfc7 100644 --- a/email-worker/Dockerfile +++ b/email-worker/Dockerfile @@ -1,7 +1,3 @@ -#------------------------------------------------------------- -# Build command: docker build . -t pr-d-registry.ngit.hr/ngit/evo-open-table-sync-svc:1.0.0 -#------------------------------------------------------------- - #-------------------------------------------- # Stage: building TypeScript #-------------------------------------------- @@ -10,12 +6,6 @@ FROM node:18 as build-stage ENV WORKDIR=/app WORKDIR /app -# kopiram SSH key & known_hosts koji su potrebni za `npm i` -# zato što `package.json` pri instalacija NGIT paketa koristi -# SSH autentikaciju -COPY _docker_assets/.ssh /root/.ssh -RUN chmod 700 /root/.ssh/* - COPY ./package*.json ./ # instaliram pakete diff --git a/email-worker/build-image.sh b/email-worker/build-image.sh index a184aff..5e0bc65 100755 --- a/email-worker/build-image.sh +++ b/email-worker/build-image.sh @@ -13,11 +13,10 @@ PUSH_IMAGE_TO_REPO="$REPLY" printf "\nBUILD START ...\n\n" -REGISTRY_URL=registry.ngit.hr IMAGE_NAME=evo-open-table-sync-svc IMAGE_VERSION=$1 -IMAGE_TAG=$REGISTRY_URL/ngit/$IMAGE_NAME:$IMAGE_VERSION +IMAGE_TAG=$IMAGE_NAME:$IMAGE_VERSION docker build . -t $IMAGE_TAG diff --git a/email-worker/run-image.sh b/email-worker/run-image.sh index 0d28472..c075682 100755 --- a/email-worker/run-image.sh +++ b/email-worker/run-image.sh @@ -6,7 +6,7 @@ if [ "$1" == "" ] ; then exit 1 fi -IMAGE_TAG=pr-d-registry.ngit.hr/ngit/evo-open-table-sync-svc:$1 +IMAGE_TAG=evo-open-table-sync-svc:$1 docker run -p 3000:3000 \ --env DEBUG=* \