After reading @matt post I got it working using the cmd below:
caddy file-server --root ./dist --domain 192.168.1.8 --listen :9000