X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ddb140f3877007249b8bac30dda575e56a1586f9..d4efa872addf6e3101dd45127c6299f8223ce813:/Dockerfile diff --git a/Dockerfile b/Dockerfile index eb4c26fd1..0bd5947be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,11 +10,9 @@ 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 \ @@ -46,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 --ignore-engines install +ADD bin/yarn /app/bin/ +RUN bundle exec bin/yarn install