Skip to content

Commit

Permalink
nit: restore whitespace in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
klausmeyer committed Oct 4, 2023
1 parent 1e48167 commit 123cb1b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ WORKDIR /app
ADD . .

RUN apk update \
&& apk add build-base zlib-dev tzdata nodejs openssl-dev shared-mime-info libc6-compat \
&& rm -rf /var/cache/apk/* \
&& gem install bundler -v $(tail -n1 Gemfile.lock | xargs) \
&& bundle config set build.sassc "--disable-march-tune-native" \
&& bundle config set without "development test" \
&& bundle install \
&& bundle exec rails assets:precompile \
&& addgroup -S app && adduser -S app -G app -h /app \
&& chown -R app.app /app \
&& chown -R app.app /usr/local/bundle
&& apk add build-base zlib-dev tzdata nodejs openssl-dev shared-mime-info libc6-compat \
&& rm -rf /var/cache/apk/* \
&& gem install bundler -v $(tail -n1 Gemfile.lock | xargs) \
&& bundle config set build.sassc "--disable-march-tune-native" \
&& bundle config set without "development test" \
&& bundle install \
&& bundle exec rails assets:precompile \
&& addgroup -S app && adduser -S app -G app -h /app \
&& chown -R app.app /app \
&& chown -R app.app /usr/local/bundle

USER app

Expand Down

0 comments on commit 123cb1b

Please sign in to comment.