Sign inSign up

mamdouhmasf/rails_dom

By mamdouhmasf

•Updated almost 11 years ago

rails image with imagemicks for mamdouh application

Image
0

2.6K

mamdouhmasf/rails_dom repository overview

⁠Dockerfile

FROM seapy/rails-nginx-unicorn-pro:v1.0-ruby2.1.2-nginx1.6.0 MAINTAINER seapy([email protected]⁠)

⁠Add here your preinstall lib(e.g. imagemagick, mysql lib, pg lib, ssh config)

⁠Install tools & libs to compile everything

RUN apt-get update && apt-get install -y build-essential libssl-dev libreadline-dev wget && apt-get clean

⁠Install imagemagick

RUN apt-get install -y imagemagick libmagick++-dev libmagic-dev && apt-get clean RUN apt-get install -y libpq-dev #(required) Install Rails App ADD Gemfile /app/Gemfile ADD Gemfile.lock /app/Gemfile.lock RUN bundle install --without development test ADD . /app #RUN bundle exec rake db:migrate #(required) nginx port number EXPOSE 80

Tag summary

Content type

Image

Digest

sha256:f63e82b0e…

Size

431.3 MB

Last updated

almost 11 years ago

docker pull mamdouhmasf/rails_dom