Skip to content

Instantly share code, notes, and snippets.

@matzefriedrich
Created May 6, 2021 21:47
Show Gist options
  • Select an option

  • Save matzefriedrich/139361797dae4763835a373044335e99 to your computer and use it in GitHub Desktop.

Select an option

Save matzefriedrich/139361797dae4763835a373044335e99 to your computer and use it in GitHub Desktop.
Docker api-spec-converter CLI
FROM alpine:3.13 AS buildbase
RUN apk update && apk add nodejs npm git
FROM buildbase AS build
RUN git clone https://github.com/LucyBot-Inc/api-spec-converter.git && \
cd api-spec-converter && \
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=0 && \
npm install
RUN npm i -g ./api-spec-converter
ENTRYPOINT ["api-spec-converter"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment