Development env with static website for frkn.org, served by Nginx. Suitable for web dev iterations.
From the repository root:
docker build -t frkn-org .
docker run --rm -p 8080:80 frkn-orgOpen the site at:
http://localhost:8080
-
The container serves port
80;-p 8080:80maps it to port8080on the host. -
Stop the server with
Ctrl+C. The--rmflag removes the container automatically. -
Verify the container
The image exposes a health endpoint:
curl http://localhost:8080/healthExpected response:
ok