We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FROM ruby:2.1.7 MAINTAINER Webmaster Team "[email protected]" RUN apt-get update RUN apt-get install -y git imagemagick libpq-dev libncurses5-dev libffi-dev curl build-essential libssl-dev libreadline6-dev zlib1g-dev zlib1g libsqlite3-dev libmagickwand-dev libqtwebkit-dev libqt4-dev libreadline-dev libxslt-dev RUN git clone https://github.com/cercomp/weby WORKDIR /weby RUN gem install bundler RUN bundle install RUN cp config/secrets.yml.example config/secrets.yml RUN cp config/database.yml.example config/database.yml ENV RAILS_ENV=production RUN bundle exec rake assets:precompile --trace CMD export SECRET_KEY_BASE=`bundle exec rake secret` CMD rails s -b 0.0.0.0 -p 3000 # docker run -it -p $PORT:$PORT -e SECRET_KEY_BASE=$SECRET_KEY_BASE -e PG_DB=$PG_DB -e PG_USER=$PG_USER -e PG_PASS=$PG_PASS -e PG_HOST=$PG_HOST -e PG_PORT=$PG_PORT -e PORT=$PORT faraohh/weby:latest