Last active
August 29, 2015 14:06
-
-
Save jasonbrooks/531985f49d6040f895e7 to your computer and use it in GitHub Desktop.
Dockerfile for Middleman
This file contains hidden or 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 centos:centos7 | |
| MAINTAINER [email protected] | |
| WORKDIR /tmp | |
| RUN yum upgrade -y && yum clean all | |
| RUN yum install -y tar rubygems-devel rubygem-bundler ruby-devel git make gcc gcc-c++ patch curl-devel ImageMagick && yum clean all | |
| ADD config.rb /tmp/config.rb | |
| ADD data /tmp/data | |
| ADD Gemfile /tmp/Gemfile | |
| ADD Gemfile.lock /tmp/Gemfile.lock | |
| ADD lib /tmp/lib | |
| RUN bundle install | |
| EXPOSE 4567 | |
| CMD bundle exec middleman server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment