Sign inSign up

benoitg/ruby

By benoitg

Updated over 4 years ago

Ruby container with run as host feature

Image
0

506

benoitg/ruby repository overview

Usage

docker run  -it --rm \
    -v $(pwd):/app \
    --name ruby \
    benoitg/ruby bundle install

With docker-compose

web:
    image: benoitg/ruby
    volumes:
        - ./:/app
        - ~/.cache/bundle:/home/ruby/.cache/bundle
    expose:
        - "4000"
    ports:
        - "4000:4000"
    command: bundle exec jekyll serve --drafts --watch --force_polling

Tag summary

Content type

Image

Digest

Size

328.6 MB

Last updated

over 6 years ago

docker pull benoitg/ruby