Sha256: 518fcf134a2df60da2cc218bd32d3ea90e9cbb896422b85a8134b10451d651b0

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

FROM ruby:<%= upstream.tool_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 RAILS_ENV=production
RUN bundle install --without development test
CMD ["rails", "server", "-b", "0.0.0.0"]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vps-0.1.1 templates/docker/upstream/Dockerfile.rails.erb