Sha256: 4442fc0c0206c3071d2c2ae84b45eaff5889e436082ffff63895296f88d0106b
Contents?: true
Size: 1001 Bytes
Versions: 2
Compression:
Stored size: 1001 Bytes
Contents
FROM ruby:2.7.2 as builder WORKDIR /app/rubypitaya/ COPY Gemfile Gemfile.lock ./ ENV BUNDLER_WITHOUT development test RUN bundle install COPY . . FROM ruby:2.7.2-slim RUN apt update && apt install -y postgresql-client curl python3 bash vim --no-install-recommends RUN rm -rf /var/lib/apt/lists/* RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl RUN chmod +x ./kubectl RUN mv ./kubectl /usr/local/bin 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.7.0 /usr/local/lib/ruby/gems/2.7.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", "run"]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubypitaya-2.17.0 | ./lib/rubypitaya/app-template/docker/prod/Dockerfile |
rubypitaya-2.16.0 | ./lib/rubypitaya/app-template/docker/prod/Dockerfile |