Sha256: e2595495f36a8fdf2bb5a05255cce84854eb1f7b00e4de94e4054d9561531388
Contents?: true
Size: 726 Bytes
Versions: 8
Compression:
Stored size: 726 Bytes
Contents
FROM ruby:2.6.6 as builder WORKDIR /app/rubypitaya/ COPY Gemfile Gemfile.lock ./ RUN bundle install --without development COPY . . FROM ruby:2.6.6-slim RUN apt update && apt install -y postgresql-client --no-install-recommends RUN rm -rf /var/lib/apt/lists/* COPY --from=builder /usr/local/etc /usr/local/etc COPY --from=builder /usr/local/bundle /usr/local/bundle COPY --from=builder /usr/local/bin/ruby /usr/local/bin/ruby COPY --from=builder /usr/local/lib/ruby/gems/2.6.0 /usr/local/lib/ruby/gems/2.6.0 COPY --from=builder /app/rubypitaya /app/rubypitaya WORKDIR /app/rubypitaya/ RUN rm -rf vendor/ ENV LANG=C.UTF-8 ENV LC_ALL=C.UTF-8 ENTRYPOINT ["./docker/entrypoint.sh"] CMD ["bundle", "exec", "rubypitaya"]
Version data entries
8 entries across 8 versions & 1 rubygems