]> git.openstreetmap.org Git - rails.git/blobdiff - Dockerfile
Merge pull request #4062 from stalker314314/fix-erb-lint-copyright
[rails.git] / Dockerfile
index c85a6404606d99bd8ef4a416f6eed2a7c6319881..f3c56e1615c922c53a91dd5aaae86ea9a51c0d64 100644 (file)
@@ -20,8 +20,9 @@ RUN apt-get update \
       libxslt1-dev \
       locales \
       postgresql-client \
-      ruby3.0 \
-      ruby3.0-dev \
+      ruby \
+      ruby-dev \
+      ruby-bundler \
       software-properties-common \
       tzdata \
       unzip \
@@ -48,8 +49,7 @@ WORKDIR /app
 
 # Install Ruby packages
 ADD Gemfile Gemfile.lock /app/
-RUN gem install bundler \
- && bundle install
+RUN bundle install
 
 # Install NodeJS packages using yarn
 ADD package.json yarn.lock /app/