Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
``` bash
docker run --rm -v ${PWD}:/usr/src -w /usr/src -ti ruby:2.5.1 bash ; cd app
``` bash
gem install rails
# Last, we'll create the project skeleton (your options may vary) - but let's
# disable running bundler after the project creation, as it may take a couple
# of minutes, and we'll end up removing this container, so the install is of
# no use here:
rails new app --database=postgresql --webpack=vue --skip-bundle
# We've finished! Let's exit the container and look for our newly generated
# project skeleton:
To make things easier, we will add new service in our docker-compose running webpacker in development enviroment.
context: .
dockerfile: dev.Dockerfile
command: bundle exec bin/webpack-dev-server
- .:/usr/src/app
- "8080:8080"
- net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.