Sign inSign up

spartan/rails

By spartan

Updated over 10 years ago

Image
3

4.6K

spartan/rails repository overview

Spartan Docker Rails

This image provides Ruby on Rails. On the build of the image, it adds your Gemfile and Gemfile.lock to /app/, runs bundle install, and adds the application code to the /app directory.

Usage

  1. Add the file start_services.sh to the bin directory in the application root directory. This script is executed when the container is started without a command.

  2. Ensure your application binds to port 3000.

  3. Set up a Dockerfile with the following contents:

    FROM spartan/rails
    
  4. Build the image.

  5. Profit.

Tag summary

Content type

Image

Digest

sha256:2516f4fb7

Size

355.2 MB

Last updated

over 10 years ago

docker pull spartan/rails