Argument for BaseURL in docker-compose file

Hi,

Does anyone know what argument I give to force the BaseURL be to what I provide it? I have successfully run

docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:0.80.0 server -b http://MYURL

How would I add that into my Dockerfile? Here is what I currently have.

server:
image: klakegg/hugo:ext-alpine
command: server
volumes:
- .:/src
ports:
- “1313:1313”

Thanks

did you try command: server -b http://MYURL?

Thanks, that worked!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.