Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

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.


  1. Add the file 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.
Docker Pull Command
Source Repository