Last active
April 2, 2017 13:11
-
-
Save novemberde/ff49bcb8cbe9f1bab15220ae68b92a69 to your computer and use it in GitHub Desktop.
dockerfile_node_test
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
FROM node | |
MAINTAINER KH BYUN "novemberde.github.io" | |
RUN npm install -g pm2 node-gyp | |
ENV NODE_ENV production | |
EXPOSE 3000 | |
COPY ./ /docker_node_server | |
RUN npm install --prefix /docker_node_server | |
CMD ["pm2-docker", "app.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment