Latest code not deployed into container

I am using ECS and ECR to deploy code into containers. my containers not reflecting latest code changes until I do "docker system prune: every time.

it guess i have suffifcient memory in container/host.

you someone advise me on resolving this issue.

Thanks
Ram