X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3ff8ef52b71d544e6660ea7823a43397165cd180..c5c344b12c6b538cce39b372079b051a6071c5b0:/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