Skip to content

Sinatra project template with a lot of basic project must-have features, such as containerization and deployments to GCR, ECR, Dockerhub and regular old VM using Github Actions. Also Unit Test, Code Coverage, Static Analysis and Staged Flow (such as dev, staging, uat and production) are part of this project template repository.

License

Notifications You must be signed in to change notification settings

namikazebadri/starterkit-sinatra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sinatra Docker Image

Build docker image for Sinatra application.

Build Image

To build image run this command (change the tag name & version with your preferred tag name & version).

$ docker build . -t myorganization/myimage:1.0.0

Running a Container from Image

To create a container from the image, run this command (change the tag name & version with your preferred tag name & version).

$ docker run -d -p 9292:9292 --name sinatra-app myorganization/myimage:1.0.0

Then you can access the app from the browser with this url: http://127.0.0.1:9292

Dockerhub image

This repository is proven by running build in Dockerhub, you can see the result here.

About

Sinatra project template with a lot of basic project must-have features, such as containerization and deployments to GCR, ECR, Dockerhub and regular old VM using Github Actions. Also Unit Test, Code Coverage, Static Analysis and Staged Flow (such as dev, staging, uat and production) are part of this project template repository.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published