Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

very-fast-app

A minimal Alpine-based container that serves a single static page on port 3000 using busybox httpd. No packages beyond busybox-extras (for the httpd applet) and tini (so Ctrl-C works), no compilation, builds in seconds.

Build & run

Podman needs -f Containerfile because the file isn't named Dockerfile. Pick whichever invocation matches where your shell is.

From inside very-fast-app/

podman build -f Containerfile -t very-fast-app .
podman run --rm -p 3000:3000 very-fast-app

From the repo root

podman build -f very-fast-app/Containerfile -t very-fast-app very-fast-app
podman run --rm -p 3000:3000 very-fast-app

In another terminal:

curl localhost:3000
# Hello from very-fast-app

Ctrl-C in the podman run terminal cleanly stops the container.

Via compose

A minimal docker-compose.yml is included so this example also fits the repo's compose theme. It points at Containerfile explicitly via build.dockerfile.

podman compose up --build
# or: docker compose up --build

podman compose down

Publish to registry

podman login docker.io
podman build --platform linux/amd64,linux/arm64 --manifest docker.io/YOURUSERNAME/very-fast-app:latest -f Containerfile .
podman manifest push docker.io/YOURUSERNAME/very-fast-app:latest

About

Simple app that is fast to build and responds with 200 ok. Used for uptime probing.

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages