tmorgan497
High CPU Usage in Docker when running Nuxt in dev
When I run nuxt with
yarn run dev
in my docker container, the CPU usage of the container is high. Also, every few seconds, the logs output this:
I don't know if that is expected behavior, but when I run yarn run dev
outside of the container, the CPU usage is a lot lower and the nitro-runtime logs don't occur.
Here's my Dockerfile:
and my compose file for the frontend container:
6 replies