Created
February 28, 2017 15:04
-
-
Save elliotthilaire/637d85c073dbd2095ac8df46d811c70d to your computer and use it in GitHub Desktop.
`yarn install` with in alpine docker image with apk
This file contains 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
COPY package.json /usr/src/app/ | |
COPY yarn.lock /usr/src/app/ | |
# TODO: replace custom repository when yarn is no longer in edge/community | |
RUN apk add yarn --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ && \ | |
yarn install && \ | |
apk del yarn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment