React App Slow Startup Time in Docker Container on k8s

This maybe better suited for a react sub but wanted to start asking infra folks.

I'm experiencing very slow start up times for a production webapp built with react in a docker container. Base image is node:14.2.0-alpine3.10. Experiencing maybe 5 minute avg startup time in a deployed container on kubernetes. Locally around 5m as well.

Does this seem reasonable for anyone else deploying react applications in docker? Even testing locally the startup time for my react app feels atrocious. Looking for any optimization tips for the container or resources to try to improve these times.


submitted by