Sha256: 8a3e1f75344f2e3e316332b88f75c54e0ecebdaf555b2e8bdcd88e7176338937

Contents?: true

Size: 460 Bytes

Versions: 3

Compression:

Stored size: 460 Bytes

Contents

FROM ruby:<%= upstream.ruby_version %>-alpine

RUN apk update \
&& apk --no-cache --update add \
  build-base nodejs tzdata \
  mysql-dev mysql-client --no-install-recommends \
  postgresql-dev postgresql-client \
  libxslt-dev libxml2-dev

WORKDIR /opt/app
COPY . .

ENV RACK_ENV=production
RUN gem install bundler -v <%= upstream.bundler_version %>
RUN bundle install --without development test
CMD ["bundle", "exec", "rackup", "config.ru", "-o", "0.0.0.0"]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vps-0.2.1 templates/docker/upstream/Dockerfile.rack.erb
vps-0.2.0 templates/docker/upstream/Dockerfile.rack.erb
vps-0.1.2 templates/docker/upstream/Dockerfile.rack.erb