Skip to content

lmancilla/sinatra-puma-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Sinatra-Puma Docker based image

Docker login

echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin

Build

IMAGE_TAG=1.7
docker build . -t ghcr.io/lmancilla/sinatra-puma-example:${IMAGE_TAG}
docker tag ghcr.io/lmancilla/sinatra-puma-example:${IMAGE_TAG} latest

Run

docker run -v ${PWD}:/usr/src/app -p 3000:3000 --rm ghcr.io/lmancilla/sinatra-puma-example:latest bundle exec puma -C config/puma.rb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages