This repository contains file for building docker containers for rails. You can create development environment for rails instantly.
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
Content type
Image
Digest
Size
284 MB
Last updated
over 9 years ago
docker pull muran001/docker-rails