Skip to content

Instantly share code, notes, and snippets.

@pintux
Last active October 12, 2015 15:05
Show Gist options
  • Save pintux/08ace3b549286f6d09ed to your computer and use it in GitHub Desktop.
Save pintux/08ace3b549286f6d09ed to your computer and use it in GitHub Desktop.
Simple Dockerfile to dockerize a local node.js / Express app
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