Created
February 12, 2015 17:38
-
-
Save andreareginato/9baf40a6c9937e7be847 to your computer and use it in GitHub Desktop.
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
# node image | |
FROM node:0.10-onbuild | |
# docker mantainer | |
MAINTAINER reggie | |
# add the files to load | |
ADD ./ . | |
# install all needed packages | |
RUN npm install | |
# expose port | |
EXPOSE 1883 | |
# execute app.js | |
ENTRYPOINT ["node", "app.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment