Created
February 2, 2015 00:56
-
-
Save liamzebedee/2a56d6d911087db7ba87 to your computer and use it in GitHub Desktop.
dockerfile for a node app
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 nodesource/node:trusty | |
| ENV DEBIAN_FRONTEND noninteractive | |
| RUN mkdir /app | |
| WORKDIR /app | |
| ADD ./package.json /app/package.json | |
| ADD ./node_modules /app/node_modules | |
| RUN npm install | |
| WORKDIR /app | |
| ADD . /app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment