diff --git a/Dockerfile b/Dockerfile index eea92c1..eb2bcdf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,7 @@ RUN mkdir -p /home/app/webapp/vendor/bundle && \ WORKDIR /home/app/webapp RUN gem install rubygems-update -v 3.5.6 && \ gem install bundler:2.5.6 && \ - /sbin/setuser app bundle install --path vendor/bundle + su - app -c "bundle install --path vendor/bundle" # Run additional scripts during container startup (i.e. not at build time) WORKDIR /home/app/webapp