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