docker-sinatra-example:Sinatra 应用程序的 Dockerfile 示例

时间:2021-06-10 19:38:59
【文件属性】:
文件名称:docker-sinatra-example:Sinatra 应用程序的 Dockerfile 示例
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-10 19:38:59
Ruby Docker Sinatra 示例 这是一个简单的 Sinatra 应用程序的示例 Dockerfile。 它使用作为基础镜像,并为常见的 Docker 命令提供了一个 Rakefile: $ rake --tasks rake docker:build # Build the Docker image rake docker:pull # Pull the Docker image from the registry rake docker:push # Push the Docker image up to the registry rake docker:run # Run the Docker container in the foreground rake docker:shell # Run Bash within the Docker container
【文件预览】:
docker-sinatra-example-master
----Dockerfile(740B)
----.gitignore(61B)
----README.md(2KB)
----.rubocop.yml(547B)
----views()
--------index.erb(118B)
--------layout.erb(498B)
----Gemfile(204B)
----Guardfile(304B)
----LICENSE(1KB)
----Gemfile.lock(2KB)
----app.rb(170B)
----config.ru(132B)
----Rakefile(2KB)

网友评论