Setup an isolated web server as a smolBSD microvm in 1 minute:
```
FROM base,etc

LABEL smolbsd.service=smolweb
LABEL smolbsd.publish="8880:8880"

ARG PUBKEY="ssh-ed25519 foo user@bar"

RUN pkgin up && pkgin -y in caddy

RUN <<EOF
useradd -m smol
cd /home/smol
mkdir -p .ssh www
echo "$PUBKEY" >.ssh/authorized_keys
chmod 600 .ssh/authorized_keys
chown -R smol /home/smol
EOF

EXPOSE 8880

CMD /etc/rc.d/sshd onestart && \
caddy file-server --listen :8880 --root /home/smol/www
```
Documentation: github.com/NetBSDfr/smolBSD/tr

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/imil/statuses/116124605951064823 on your instance and quote it. (Note that quoting is not supported in Mastodon.)