Skip to content

Commit

Permalink
Unwanted commets were removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Light13008 committed Oct 8, 2024
1 parent caacdd9 commit e0d290e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/generator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:18-alpine

ARG ASYNCAPI_GENERATOR_VERSION="1.10.9" # Include ARG in the build stage and surround it with double quotes
ARG ASYNCAPI_GENERATOR_VERSION="1.10.9"

WORKDIR /app

Expand All @@ -12,7 +12,7 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"
# Since 0.14.0 release of html-template chromium is needed for pdf generation.
# More custom packages for specific template should not be added to this dockerfile. Instead, we should come up with some extensibility solution.
RUN apk --update add --no-cache git chromium && \
npm install -g @asyncapi/generator@"$ASYNCAPI_GENERATOR_VERSION" && \ # Surround variable with double quotes
npm install -g @asyncapi/generator@"$ASYNCAPI_GENERATOR_VERSION" && \
npm cache clean --force

# Define the entry point for the AsyncAPI generator
Expand Down

0 comments on commit e0d290e

Please sign in to comment.