Open dontlaugh opened 11 months ago
To test:
git clone git@github.com:dontlaugh/raku.org.git
cd raku.org
git switch containerfile
docker build -t raku.org:latest -f Dockerfile . # or podman
docker run -it -p 5500:5500 raku.org:latest
Then browse to http://localhost:5500
Yes, it worked for me with a stack of WSL, buildah and podman as well, and also, it did a great service to create something similar for the Raku rework. :)
We add a basic Caddyfile that compiles static assets to ./online and then serves these from the web root /usr/share/caddy inside the container.
404 handlers are TODO