Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (11 sloc) 342 Bytes
FROM phusion/baseimage:0.9.17
RUN apt-get -y update && \
apt-get -y install ruby ruby-dev build-essential ruby-bundler git libssl-dev
ADD . /terminus-bot
RUN useradd --create-home terminus-bot
WORKDIR /terminus-bot
RUN cd /terminus-bot
RUN bundle install
ADD doc/runit/ /etc/service
VOLUME /var/lib/terminus-bot
CMD ["/sbin/my_init"]