Skip to content

Instantly share code, notes, and snippets.

@unforced
Created June 16, 2015 16:00
Show Gist options
  • Select an option

  • Save unforced/033095452255b878216d to your computer and use it in GitHub Desktop.

Select an option

Save unforced/033095452255b878216d to your computer and use it in GitHub Desktop.
Dockerfile
FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y ruby2.2.1 git
RUN apt-get clean
RUN gem install bundler
RUN locale-gen en_US en_US.UTF-8
EXPOSE 8080
RUN git clone https://github.com/cwruacm/acm.case.edu /opt/acm/
RUN cd /opt/acm && bundle install
WORKDIR /opt/acm
CMD ["unicorn","-d","-c", "unicorn.conf"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment