Last active
August 29, 2015 14:22
-
-
Save chriseckhardt/342cd30690a4a5f49d60 to your computer and use it in GitHub Desktop.
Kochiku Master Dockerfile
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
# Dockerfile for Kochiku Server | |
# Copyright 2015 Square, Inc. | |
FROM centos | |
MAINTAINER Chris Eckhardt, [email protected] | |
LABEL Description="This image is used to run a central Kochiku Server" Vendor="Square, Inc." | |
RUN yum update -y -q -e0 -d0 | |
RUN yum install -y -q -e0 -d0 deltarpm gcc gcc-c++ git openssl mysql-devel ruby ruby-devel rubygems tar | |
RUN gem install bundler | |
# Install Kochiku | |
RUN mkdir /app/ && cd /app/ | |
RUN git clone https://github.com/square/kochiku.git /app/kochiku | |
RUN cd /app/kochiku && bundle | |
COPY database.production.yml /app/kochiku/config/database.production.yml | |
COPY application.yml /app/kochiku/config/application.yml | |
EXPOSE 80 | |
EXPOSE 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment