Created
June 11, 2017 13:39
-
-
Save oivoodoo/6a928a8ead7a9508300d19d9a79e2f97 to your computer and use it in GitHub Desktop.
Install older version of node and npm
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 mhart/alpine-node:base-0.12 | |
| RUN apk update \ | |
| && apk add curl \ | |
| && apk add tar \ | |
| && rm -rf /var/cache/apk/* | |
| RUN curl -L https://npmjs.org/install.sh -o - | clean=yes npm_install=2.15.11 sh | |
| WORKDIR /app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment