[openstreetmap/openstreetmap-website] Enable the app to be built using Docker (#1290)
Seth Fitzsimmons
notifications at github.com
Mon Oct 31 21:01:12 UTC 2016
mojodna commented on this pull request.
> + libreadline-dev \
+ libpq-dev \
+ libxml2-dev \
+ imagemagick \
+ libmagickwand-dev \
+ postgresql-client \
+ nodejs \
+ file
+
+# Setup app location
+RUN mkdir -p /app
+WORKDIR /app
+
+# Install gems
+ADD Gemfile /app/Gemfile
+ADD Gemfile.lock /app/Gemfile.lock
The added benefit is that gems will only be reinstalled when `Gemfile*` changes, rather than when anything else in the source tree does.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1290
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161031/5d409dd9/attachment.html>
More information about the rails-dev
mailing list