Dockerize your ruby environment
Environment variables:
APP_ENV
defines environment mode (defaults toproduction
)APP_BUNDLE
flag to check if should runbundle install
on startup (defaults toy
)
Commands:
assets
compile assetsbundle|bundler
runbundle install
commandrun
run ruby container exposing port3000
Volumes:
/var/www
application path/usr/local/bundle
bundler cache
2.4.1
- latest stable release2.2.2