Activity
Posted in Docker Basics for Rails Discussion
You can make docker-compose create the project for you if you already have defined a Dockerfile
and a docker-compose.yml
:
docker-compose run --no-deps web rails new . --force --database=postgresql
See more at https://docs.docker.com/samples/rails/#build-the-project