We also needed to use npm 7.
Instead of switching to a Dockerfile you can do the following:
Add an environment variable SKIP_INSTALL_DEPS=true
(not documented yet on render doc as I understand)
In your build command: npm install npm && npx npm ci
Cheers