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

Paul Sturgess notifications at github.com
Fri Sep 16 07:59:46 UTC 2016


paulsturgess 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

The `CMD` is actually declared in the `docker-compose.yml` as `./script/rails s -p 3000 -b '0.0.0.0'`

-- 
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/e949a1b2/attachment-0001.html>


More information about the rails-dev mailing list