Sign inSign up

lucassartori/web5

By lucassartori

•Updated over 7 years ago

Container for the development discipline for web 5, developed using the Ruby language with Rails

Image
0

10K+

lucassartori/web5 repository overview

⁠Container for the development discipline for web 5, developed using the Ruby language with Rails

⁠Whats this image contains:

  • Ruby 2.5.1
  • Rails 5.2.1
  • Bundler 1.16.3
  • Node 10.8.0
  • Npm 6.2.0

⁠Ports exposes

  • 3000
  • 3306
  • 80

⁠Instructions

  • clone this repository: git clone https://github.com/Sartori-RIA/docker-ruby-rails
  • start container docker-compose up -d
  • enter in container docker exec -it CONTAINER_NAME /bin/bash
  • revert to the initial state of the container
    • docker-compose kill
    • docker-compose rm
    • docker-compose up -d

⁠Docker-compose example

version: '3.1'

services:
  webapp:
    image: lucassartori/web5:1.0
    container_name: web5_app
    ports:
      - 3000:3000    # share ports, localhost:docker
    restart: always  # start when computer start
    volumes:
      - ./www:/var/www  # share volumes local:docker
    tty: true```

Tag summary

Content type

Image

Digest

Size

384.6 MB

Last updated

about 8 years ago

docker pull lucassartori/web5