X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb9219a52fdc3160358c4ffa8bbe26cd817b007c..83f6f19bfbfaf421d8a678d0ac20a6ffe83cba6d:/Dockerfile diff --git a/Dockerfile b/Dockerfile index 7d5d4982c..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 rails 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