[openstreetmap/openstreetmap-website] Add Docker Compose Support for Development Environment (#2409)
Tom Hughes
notifications at github.com
Mon Mar 2 07:09:34 UTC 2020
tomhughes commented on this pull request.
> + ruby-dev \
+ yarn && \
+ apt-get clean && \
+ rm -rf /var/lib/apt/lists/*
+
+# Setup app location
+RUN mkdir -p /app
+WORKDIR /app
+
+# Install Ruby packages
+ADD Gemfile Gemfile.lock /app/
+RUN bundle install
+
+# Install NodeJS packages
+ADD package.json yarn.lock /app/
+RUN yarn
You're already done `bundle install` which should install everything `bundle exec` might need - if you don't use `bundle exec` then you have no idea if things are using the expected modules, or even if they will work at all.
--
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/2409#discussion_r386225206
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200301/f9730aee/attachment.htm>
More information about the rails-dev
mailing list