Public Repository

Last pushed: 2 years ago
Short Description
simple sinatra server
Full Description

This image was generated based on "Ruby" oficial image, contains a simple example of an application built in Ruby using Sinatra server at "/ping" endpoint.


STEP 1 - Clone this repository

STEP 2 - Run container using:
"docker run -p 0.0.0.0:80:80 -i -t -d ivoneijr/zeta-simple-sinatra"

STEP 3 - Put URL in your browser:
"http://192.168.59.103/ping"



The Original Dockerfile:


FROM ruby

RUN git clone https://github.com/ivoneijr/simple-sinatra.git

WORKDIR "/simple-sinatra"

RUN ls -la

RUN bundle install

EXPOSE 80

CMD rackup -o 0.0.0.0 -p 80


Docker Pull Command
Owner
ivoneijr

Comments (0)