React Docker, problems with build pipeline

I have a relatively simple React application with a Dockerfile that I’m trying to deploy to Azure App Service. When I build the docker image locally, everything works as expected. However when I try and run the image from the build pipeline, im seeing “.map is not a function” on two of my views. It’s a simple map to render some JSX. Using dev server and locally built it works completely fine. I’m totally at a loss I have no idea what the issue could be. There’s clearly some dependency I’m missing or something different about the environment on the build server causing this issue.