Created
May 6, 2021 21:47
-
-
Save matzefriedrich/139361797dae4763835a373044335e99 to your computer and use it in GitHub Desktop.
Docker api-spec-converter CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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