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" ]