jojomi/docker-hugo

Is there any way to generate the correct public files ?

laowalter opened this issue · 0 comments

I run jojomi/hugo in my linux server, like :

docker run --rm --name "my-hugo" -p 1313:1313 -v ~/hugo-blog/:/src -e HUGO_THEME="mytheme" -e HUGO_WATCH="true" -e HUGO_DESTINATION="public" -e HUGO_BASEURL=192.168.0.123 jojomi/hugo

then I tired:
docker exe -it my-hugo hugo -D

and then html files in public have unexpected oversheads, like 1313 or duplicated "address". Is there a way to generate correct public directory files for a given domain, abc.com for example, by one command line ?

Thanks!