I want to enable web app admin api from docker file

I need to use backup and rotation settings for prometheus.I am running prometheus on ecs server using docker file.Any suggestions how can we do that?