It appears that building Nuxt on cheap droplet is a bad idea. It crashes with not enough memory.
Build on my laptop >> Upload to Docker Hub >> Download to DigitalOcean fixes it.
I am also considering spawnable stateless Docker images; with attached volume; as an alternative, but this may complicate stuff... (I have never successfully run k8s, only Google Cloud Run.)
I am a professional DevOps Engineer with a demonstrated history of working in the internet industry. I am an avid Linux lover and supporter of the open-source movement philosophy.
It appears that building Nuxt on cheap droplet is a bad idea. It crashes with not enough memory.
Build on my laptop >> Upload to Docker Hub >> Download to DigitalOcean fixes it.
I am also considering spawnable stateless Docker images; with attached volume; as an alternative, but this may complicate stuff... (I have never successfully run k8s, only Google Cloud Run.)
Hi there 👋,
As you are running low on ram, maybe try adding a swap file for some extra buffer:
digitalocean.com/community/tutoria...
Hope that this helps!
Thanks. Much better than docker-compose restart always.