Skip to content

Instantly share code, notes, and snippets.

@oeeckhoutte
Last active September 6, 2015 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oeeckhoutte/b577c0dafc2b4f3236b9 to your computer and use it in GitHub Desktop.
Save oeeckhoutte/b577c0dafc2b4f3236b9 to your computer and use it in GitHub Desktop.
Dockerfile to install codebox on port 8080
FROM ubuntu:latest
WORKDIR /workspace
RUN apt-get update && \
apt-get install -y make g++ python git curl && \
curl -sL https://deb.nodesource.com/setup | sudo bash - && \
apt-get install -y nodejs && \
npm -g install node-gyp codebox && \
cd /usr/lib/node_modules/codebox/node_modules/shux/node_modules/pty.js && \
make clean && \
make
EXPOSE 8000
ENTRYPOINT ["/usr/bin/codebox", "run"]
@oeeckhoutte
Copy link
Author

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