From 5f7949612d01cbcecc3ace38e602e1f736103871 Mon Sep 17 00:00:00 2001 From: barnamensch056 Date: Thu, 10 Oct 2024 19:37:43 +0530 Subject: [PATCH] merged the run instruction --- .changeset/tiny-dogs-grow.md | 5 +++++ apps/generator/Dockerfile | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .changeset/tiny-dogs-grow.md diff --git a/.changeset/tiny-dogs-grow.md b/.changeset/tiny-dogs-grow.md new file mode 100644 index 000000000..ebd5e6515 --- /dev/null +++ b/.changeset/tiny-dogs-grow.md @@ -0,0 +1,5 @@ +--- +"@asyncapi/generator": minor +--- + +Merged the run instruction in dockerfile for efficiency while creating an image. diff --git a/apps/generator/Dockerfile b/apps/generator/Dockerfile index 426ece721..103d151cd 100644 --- a/apps/generator/Dockerfile +++ b/apps/generator/Dockerfile @@ -14,8 +14,6 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true RUN apk --update add git chromium && \ rm -rf /var/lib/apt/lists/* && \ rm /var/cache/apk/* - -# Installing latest released npm package -RUN npm install -g @asyncapi/generator@$ASYNCAPI_GENERATOR_VERSION +&& npm install -g @asyncapi/generator@$ASYNCAPI_GENERATOR_VERSION ENTRYPOINT [ "ag" ]