Error with my docker-compose

Hi, i have a aplication runing in docker container in a Linux server, but today when i try to update and compile the aplicaction i receive this error.

ubuntu@ip-10-0-1-140:/var/www/app_mo$ sudo docker-compose -f production.yaml run --rm npm run dev
Failed to write all bytes for
fwrite: No space left on device

How i can resolve this?

Have you checked that you have enough space on your device?

df -h

You can remove unused data by running

docker system prune

But read its output before confirming the the deletion.

WARNING! This will remove:
  - all stopped containers
  - all networks not used by at least one container
  - all dangling images
  - all dangling build cache

Are you sure you want to continue? [y/N]

You can also delete unused volumes (again, be careful)

docker volume prune
WARNING! This will remove all local volumes not used by at least one container.
Are you sure you want to continue? [y/N]

If you want to delete only the anonymous volumes, you can run this script assuming you don’t give similar name to any local volume:

docker volume ls --quiet --filter dangling=true --filter driver=local | grep '^[a-z0-9]\{64\}$'