feat: docker production images
This commit is contained in:
7
build/erpnext-python/commands/worker.py
Normal file
7
build/erpnext-python/commands/worker.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import os, frappe
|
||||
from frappe.utils.background_jobs import start_worker
|
||||
|
||||
queue = os.environ.get("WORKER_TYPE", "default")
|
||||
start_worker(queue, False)
|
||||
|
||||
exit(0)
|
||||
Reference in New Issue
Block a user