X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/98097504019b445f23942ed5448dd62901ded8c2..d41d52877ed68902c45231a89715470774e7f944:/Dockerfile diff --git a/Dockerfile b/Dockerfile index aae65c2bb..0bd5947be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,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