FROM code.osu.edu:5000/asctech/docker/ruby:2.5 ENV APP_ROOT=/app RUN yum -y update && \ useradd --user-group deploy && \ mkdir -p ${APP_ROOT} && \ chown -R deploy:deploy ${APP_ROOT} /usr/local/bundle USER deploy WORKDIR ${APP_ROOT} COPY --chown=deploy:deploy . ${APP_ROOT} RUN bundle install