Last active
October 12, 2015 15:05
-
-
Save pintux/08ace3b549286f6d09ed to your computer and use it in GitHub Desktop.
Simple Dockerfile to dockerize a local node.js / Express 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 node:4.1.2-onbuild | |
# docker mantainer | |
MAINTAINER pintux | |
# install all needed packages | |
RUN npm install | |
# expose port | |
EXPOSE 3000 | |
# run the app | |
ENTRYPOINT ["npm", "start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment