X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5761371a561f785e17e5403cd47f76ecd3604eff..63303c22b704ca290c16ae908da1324f3ea25b2c:/Dockerfile diff --git a/Dockerfile b/Dockerfile index e8ff01387..0bd5947be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,13 +10,12 @@ RUN apt-get update \ default-jre-headless \ file \ firefox-geckodriver \ - imagemagick \ libarchive-dev \ libffi-dev \ libgd-dev \ - libmagickwand-dev \ libpq-dev \ libsasl2-dev \ + libvips-dev \ libxml2-dev \ libxslt1-dev \ locales \ @@ -45,7 +44,7 @@ ADD Gemfile Gemfile.lock /app/ RUN gem install bundler \ && bundle install -# Install NodeJS packages using yarnpkg -# `bundle exec rake yarn:install` will not work +# Install NodeJS packages using yarn ADD package.json yarn.lock /app/ -RUN yarnpkg install +ADD bin/yarn /app/bin/ +RUN bundle exec bin/yarn install