Created
November 13, 2017 17:08
-
-
Save TheDeveloper/047a39aca01d1d780c494846b5ed2716 to your computer and use it in GitHub Desktop.
Dockerfile to build Node app image.
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:8.9.1 | |
ADD . /app | |
WORKDIR /app | |
RUN apk --no-cache add python make gcc g++ git; \ | |
npm install; \ | |
apk --purge del python make gcc g++; | |
ENTRYPOINT [ "node" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment