Permalink
Browse files

Add Dockerfile

  • Loading branch information...
1 parent 6d2d82e commit 71a0dc2653fc9201bfb441b26502b123e027c9fb @distler distler committed May 6, 2016
Showing with 21 additions and 0 deletions.
  1. +3 −0 .dockerignore
  2. +18 −0 Dockerfile
View
@@ -0,0 +1,3 @@
+.dockerignore
+.git
+Dockerfile
View
@@ -0,0 +1,18 @@
+FROM ruby:2.3
+
+RUN apt-get update -y && apt-get install -y \
+ rake rubygems ruby-sqlite3 libxslt-dev libxml2-dev libsqlite3-dev swig flex bison \
+ && rm -rf /var/lib/apt/lists/* && \
+ gem update --system && gem update
+
+RUN mkdir -p /usr/src/app
+WORKDIR /usr/src/app
+
+COPY Gemfile /usr/src/app/
+RUN bundle install
+
+COPY . /usr/src/app
+
+EXPOSE 2500
+
+CMD ["./instiki"]

0 comments on commit 71a0dc2

Please sign in to comment.