Skip to content

Instantly share code, notes, and snippets.

@slemeur
Created May 7, 2015 16:02
Show Gist options
  • Save slemeur/b7c7ac4217b6bb365132 to your computer and use it in GitHub Desktop.
Save slemeur/b7c7ac4217b6bb365132 to your computer and use it in GitHub Desktop.
environment for celeb-chat
FROM codenvy/shellinabox
RUN sudo apt-get update && sudo apt-get -y install nodejs-legacy npm
ENV CODENVY_APP_PORT_3000_HTTP 3000
EXPOSE 3000
VOLUME ["/home/user/app"]
ENV CODENVY_APP_BIND_DIR /home/user/app
CMD cd /home/user/app && \
npm install && \
node server.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment