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.
Podman needs -f Containerfile because the file isn't named Dockerfile. Pick whichever invocation matches where your shell is.
podman build -f Containerfile -t very-fast-app .
podman run --rm -p 3000:3000 very-fast-apppodman build -f very-fast-app/Containerfile -t very-fast-app very-fast-app
podman run --rm -p 3000:3000 very-fast-appIn another terminal:
curl localhost:3000
# Hello from very-fast-appCtrl-C in the podman run terminal cleanly stops the container.
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 downpodman 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