From 98c41052db01f2cf9dd97d49d73fbafeac2a7ac6 Mon Sep 17 00:00:00 2001 From: Luka Murn Date: Tue, 7 Feb 2017 14:01:19 +0100 Subject: [PATCH] Add addons-ready Dockerfile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index fad85bcfe..8f0cd3ea2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,13 +15,17 @@ RUN wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh # install gems COPY Gemfile* /tmp/ +COPY addons /tmp/addons WORKDIR /tmp RUN bundle install +RUN rm -rf addons # create app directory ENV APP_HOME /usr/src/app RUN mkdir $APP_HOME WORKDIR $APP_HOME +RUN mkdir addons +RUN ln -s $(readlink -f addons) /tmp # container user RUN groupadd scinote