Sign inSign up

asux/rails-phantomjs

By asux

•Updated over 8 years ago

Rails + Puma + PhantomJS

Image
1

10K+

asux/rails-phantomjs repository overview

⁠Docker base image: Rails + Puma + PhantomJS

Docker base image for Rails⁠ runned with Puma⁠ and PhantomJS⁠ 2.1.1 prepared for deploy on AWS Elasticbeanstalk⁠.

⁠Dockerfile

Dockerfile on Github⁠.

⁠Build

Commmit changes and create new tag.

To build base image use:

make build

To tag latest image:

make tag_latest

To push to Docker Hub repo⁠:

make push

Or do this all:

make

⁠Usage

This image made for AWS EB multicontainer environment and assumes:

  • The nginx⁠ links this service as web.
  • The code mounts to /usr/src/app.
  • The startup script bin/start.sh prepares and runs web service or worker service if WORKER=true.

Example files you can find in examples⁠ folder.

Tag summary

Content type

Image

Digest

sha256:7cf473bc1…

Size

509.1 MB

Last updated

over 8 years ago

docker pull asux/rails-phantomjs