Last active
February 1, 2017 02:48
-
-
Save davidboothe/0ac1b48da94ae8cf5c7430b503236b66 to your computer and use it in GitHub Desktop.
Notes and commands from Deploying Rails with Docker, Kubernetes and ECS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start a new rails api project in your current directory | |
$ docker run -it --rm --user "$(id -u):$(id -g)" -v "$PWD":/usr/src/app -w /usr/src/app \ | |
rails rails new --skip-bundle --api --database postgresql | |
$ cd webapp | |
$ docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.4 bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment