Sign inSign up

busser/stateless-app

By busser

•Updated almost 8 years ago

A very simple stateless app that runs in Docker.

Image
0

233

busser/stateless-app repository overview

⁠Stateless App

A very simple stateless app that runs in Docker.

A pre-built version of this app is available on DockerHub⁠.

⁠Build

To build the docker image, run this command:

docker build --tag busser/stateless-app .

⁠Usage

To run this stateless app, run this command:

docker run --detach --publish 8080:80 --name stateless-app busser/stateless-app

You can now send the app a request like this:

curl localhost:8080/hello/Arthur

The command above would output this:

Hello, Arthur!

Tag summary

Content type

Image

Digest

Size

30.9 MB

Last updated

almost 8 years ago

docker pull busser/stateless-app