Config.ini.php file not getting reflected


We are currently running the Matomo as a container in AWS ECS. Now, I’m trying to update the config.ini.php file and get that pushed via Dockerfile. But for some reason the setup works in my local environment and same doesn’t work in AWS ECS.

Variables I’m trying to update:
datatable_archiving_maximum_rows_actions = 10000
datatable_archiving_maximum_rows_referrers = 10000

where as I’m seeing the results to be(as per Global.ini.php file)

datatable_archiving_maximum_rows_actions = 500
datatable_archiving_maximum_rows_referrers = 1000

Path of the config.ini.php in my dockerfile :
COPY config.ini.php /opt/bitnami/matomo/config/config.ini.php

Version of Matomo used : 3.13.5

Also, I tried different paths like
" COPY config.ini.php /usr/src/matomo/config/config.ini.php "
" COPY config.ini.php /var/www/html/matomo/config/config.ini.php " but nothing worked.