ivantsepp/codeclimate-scss-lint

View on GitHub
Dockerfile

Summary

Maintainability
Test Coverage
FROM ruby:2-alpine

WORKDIR /usr/src/app
COPY Gemfile /usr/src/app/
COPY Gemfile.lock /usr/src/app/

RUN apk --update add ruby ruby-dev ruby-bundler build-base && \
    bundle install -j 4 --without test development && \
    apk del build-base && rm -fr /usr/share/ri

RUN adduser -u 9000 -D app
USER app

COPY . /usr/src/app

CMD ["/usr/src/app/bin/codeclimate-scss-lint"]