Created
January 29, 2017 17:31
-
-
Save daliborgogic/8541497fc3a81cbfeae6b3e06512f709 to your computer and use it in GitHub Desktop.
Alpine with dependencies that rely on node-gyp
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 node:alpine | |
RUN apk add --no-cache --virtual .gyp \ | |
python \ | |
make \ | |
g++ \ | |
&& npm install \ | |
[ your npm dependencies here ] \ | |
&& apk del .gyp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment