I built custom image by referring to the fappe_docker repo and operating a production env.
Sometimes, execute “docker compose down” and “docker compose up” for restart service the above error appears.
CMD [
“/home/frappe/frappe-bench/env/bin/gunicorn”,
“–chdir=/home/frappe/frappe-bench/sites”,
“–bind=0.0.0.0:8000”,
“–threads=4”,
“–workers=33”,
“–worker-class=gthread”,
“–worker-tmp-dir=/dev/shm”,
“–timeout=120”,
“–preload”,
“frappe.app:application”
]
This is my command settings for custom image.
Can anyone tell me what I can try to avoid the above error when restarting.
Thank you.