Skip to content

Commit

Permalink
Merge pull request #72 from datacite/fix_build
Browse files Browse the repository at this point in the history
Replace the /sbin/setuser app bundle install line with the following …
  • Loading branch information
ashwinisukale authored Nov 15, 2024
2 parents 1e5c08e + 5e10dda commit 2e3e299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e3e299

Please sign in to comment.