Skip to content
Advertisement

Tag: docker-build

Azure DevOps React Container Production Build JavaScript heap out of memory error

I am trying to build react prod docker container with Azure DevOps pipelines. After I upgrade my build environment and code, Pipeline failed. After some research I add “–node-flags –max-old-space-size=8192” statement my build command. But it didn’t matter. I also try tried relevant node containers for a build, it didn’t work. Dockerfile: My package.json file: Thank you for help! Answer

Advertisement