Skip to content

yori-s/bootstrap-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

bootstrap-rails

Dockerfile to scaffold a rails app

Build image

docker build -t yori-s/bootstrap-rails:latest .

bash into a transient container with /tgt mounted to the host directory for the new app

docker run --rm -it -v ~/git/scratch/kafka-test/sql:/tgt yori-s/bootstrap-rails:latest bash

Scaffold the app - in this case with sqlserver

rails new /tgt --api -d sqlserver -M -C -A

Create a development Dockerfile for the new app

./dockerfile-dev.sh > /tgt/Dockerfile-dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages