From 3906d9c0e6683e4cc074559c15333dc0867dc44e Mon Sep 17 00:00:00 2001 From: jrhoads Date: Fri, 22 Apr 2022 10:57:30 -0400 Subject: [PATCH] Use non-depricated way to specify the path for bundle installs --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d45d28e76..f54dfe7a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,7 +50,9 @@ RUN mkdir -p vendor/bundle && \ chown -R app:app . && \ chmod -R 755 . && \ gem update --system && \ - /sbin/setuser app bundle install --path vendor/bundle + gem install bundler:2.3.10 && \ + /sbin/setuser app bundle config set --local path 'vendor/bundle' && \ + /sbin/setuser app bundle install # Copy webapp folder COPY . /home/app/webapp/