[openstreetmap/openstreetmap-website] Enable the app to be built using Docker (#1290)

Tom Hughes notifications at github.com
Fri Sep 16 08:02:24 UTC 2016


tomhughes commented on this pull request.



> +  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
+RUN bundle install

That `script/rails` is kind of ancient history - it should really have been deleted long since I think. A newly created rails app wouldn't have it.

I think something like `bundle exec rails s -p 3000 -b '0.0.0.0'` is more like what you should be doing these days.

-- 
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/20160916/1f3c0628/attachment-0003.html>


More information about the rails-dev mailing list