Skip to content

Instantly share code, notes, and snippets.

@rsbohn
Forked from anonymous/Dockerfile
Last active August 29, 2015 14:06
Show Gist options
  • Save rsbohn/f2106a47868f84d23519 to your computer and use it in GitHub Desktop.
Save rsbohn/f2106a47868f84d23519 to your computer and use it in GitHub Desktop.
# container for remotestorage
# docker build -t remotestorage:latest https://gist.githubusercontent.com/rsbohn/f2106a47868f84d23519/raw/71bb980230a511d0a1924a84dbfee447d8f758d5/Dockerfile
# docker run -d -p 8001:8001 -p 8002:8002 remotestorage:latest
FROM ubuntu
RUN apt-get update
RUN apt-get install -y python-software-properties
RUN add-apt-repository ppa:chris-lea/node.js
RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
RUN apt-get update
RUN apt-get -y install nodejs
RUN git clone https://github.com/remotestorage/starter-kit.git /opt/remotestorage
WORKDIR /opt/remotestorage
RUN npm install
EXPOSE 8001 8002
CMD ["node", "/opt/remotestorage/starter-kit"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment