Skip to content

Instantly share code, notes, and snippets.

@crouchingbadger
Created March 30, 2015 20:43
Show Gist options
  • Save crouchingbadger/c0a0e3eba4242baebd07 to your computer and use it in GitHub Desktop.
Save crouchingbadger/c0a0e3eba4242baebd07 to your computer and use it in GitHub Desktop.
# Dockerfile for Node-RED
# Use the node.js v0.10.38 docker image
FROM node:0.10.38
MAINTAINER @welovehz
# Tries to install node-gyp, but doesn't seem to work
RUN npm install -g node-gyp
# download latest stable node-red (no idea which version)
RUN npm install -g node-red
# expose port 1880
EXPOSE 1880
# Set the default command to execute
# when creating a new contaier
CMD /usr/local/bin/node-red
@vielmetti
Copy link

nice! will have to give this a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment