HUB
Sign inSign up

benoitg/ruby

By benoitg

•Updated almost 5 years ago

Ruby container with run as host feature

Image
0

799

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
Recent tags
Content type
Image
Digest
Size
328.6 MB
Last updated
almost 7 years ago
docker pull benoitg/ruby:latest