Sha256: 76add476fabc9bd18852ee3544bf28576886f1746912c3e9f2369ad1b0115ca4
Contents?: true
Size: 604 Bytes
Versions: 12
Compression:
Stored size: 604 Bytes
Contents
FROM ruby:<%= RUBY_VERSION %> MAINTAINER david.morcillo@codegram.com ARG rails_env=production ARG secret_key_base= ENV APP_HOME /code ENV RAILS_ENV $rails_env ENV SECRET_KEY_BASE $secret_key_base RUN apt-get update RUN curl -sL https://deb.nodesource.com/setup_8.x | bash && \ apt-get install -y nodejs ADD Gemfile /tmp/Gemfile ADD Gemfile.lock /tmp/Gemfile.lock RUN cd /tmp && bundle install RUN mkdir -p $APP_HOME WORKDIR $APP_HOME ADD . $APP_HOME RUN bundle exec rake DATABASE_URL=postgresql://user:pass@127.0.0.1/dbname assets:precompile CMD ["bundle", "exec", "rails", "s", "-b0.0.0.0"]
Version data entries
12 entries across 12 versions & 1 rubygems