Sha256: 646be89f6ae79309266af472efce6d013b4332bf2107904d495e4cfc37695d52
Contents?: true
Size: 824 Bytes
Versions: 2
Compression:
Stored size: 824 Bytes
Contents
FROM ruby:2.7.1-alpine AS builder LABEL maintainer="Mike Rogers <me@mikerogers.io>" RUN apk add --no-cache \ # # required build-base libffi-dev \ nodejs-dev yarn tzdata \ zlib-dev libxml2-dev libxslt-dev readline-dev bash \ # Nice to haves git vim \ # # Fixes watch file issues with things like HMR libnotify-dev FROM builder as development # Add the current apps files into docker image RUN mkdir -p /usr/src/app WORKDIR /usr/src/app ENV PATH /usr/src/app/bin:$PATH # Install latest bundler RUN bundle config --global silence_root_warning 1 EXPOSE 4000 CMD ["rspec"] FROM development AS production # Install Ruby Gems COPY Gemfile /usr/src/app COPY Gemfile.lock /usr/src/app RUN bundle check || bundle install --jobs=$(nproc) # Copy the rest of the app COPY . /usr/src/app
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bridgetown-minify-html-0.2.0 | Dockerfile |
bridgetown-minify-html-0.1.0 | Dockerfile |