From af2240e194cd531fb9cd4aebe29d2b65cfe3a6d7 Mon Sep 17 00:00:00 2001 From: Mohammad Amin Date: Wed, 17 Jan 2024 18:28:16 +0330 Subject: [PATCH] fix: add -m in front of python3! --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 62fe006..a41cfbe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,4 @@ RUN chmod +x docker-entrypoint.sh CMD ["./docker-entrypoint.sh"] FROM base AS prod -CMD ["python3", "celery", "-A", "celery_app.server", "worker", "-l", "INFO"] +CMD ["python3", "-m", "celery", "-A", "celery_app.server", "worker", "-l", "INFO"]