FROM ruby:2.6.6-alpine3.12 LABEL MAINTAINER=dave@k-innovations.net # sqlite-dev \ # mariadb-dev \ RUN apk add --no-cache --update build-base \ git \ postgresql-dev \ nodejs \ yarn \ tzdata \ && rm -rf /var/cache/apk/* RUN bundle config --global frozen 1 COPY Gemfile Gemfile.lock ./ RUN gem update --system RUN gem install bundler RUN bundle install -j $(nproc) RUN mkdir -p /app WORKDIR /app