Sign inSign up

muran001/docker-rails

By muran001

•Updated over 9 years ago

docker image for rails

Image
0

177

muran001/docker-rails repository overview

⁠docker-rails

This repository contains file for building docker containers for rails. You can create development environment for rails instantly.

⁠setup

Before executing below commands, you should install install docker⁠.

$ git clone <your repository>

$ gem i docker-sync

$ cp .env.sample .env

$ docker-sync start

$ docker-compose up -d --build

$ docker-compose exec web bundle install --path vendor/bundle

$ docker-compose exec web bundle exec rails s -b 0.0.0.0 -p 4000

Tag summary

Content type

Image

Digest

Size

284 MB

Last updated

over 9 years ago

docker pull muran001/docker-rails