Docker: Fix permission of bundle directory after running gem install.

[ci skip]
pull/4220/head
Dmitry Rocha 9 years ago committed by Oliver Günther
parent 249a9590f8
commit f4c8f29c68
  1. 2
      Dockerfile

@ -10,8 +10,8 @@ RUN curl https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x6
# We don't want to pollute any locally-mounted directory
RUN useradd -d /home/app -m app
RUN mkdir -p /usr/src/app
RUN chown -R app /usr/src/app /usr/local/bundle
RUN gem install bundler --version "${BUNDLER_VERSION}"
RUN chown -R app:app /usr/src/app /usr/local/bundle
WORKDIR /usr/src/app

Loading…
Cancel
Save