Last active
September 6, 2015 16:01
-
-
Save oeeckhoutte/b577c0dafc2b4f3236b9 to your computer and use it in GitHub Desktop.
Dockerfile to install codebox on port 8080
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
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"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://hub.docker.com/r/oeeckhoutte/docker-codebox/