fix(api): correct import paths in memory_read and celery task command
- Fix relative imports in memory_read.py to use absolute app paths - Change celery scheduler command from `python app/celery_task_scheduler.py` to `python -m app.celery_task_scheduler`
This commit is contained in:
@@ -70,7 +70,7 @@ services:
|
||||
- .env
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
command: python app/celery_task_scheduler.py
|
||||
command: python -m app.celery_task_scheduler
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: CMD curl -f 127.0.0.1:8001 || exit 1
|
||||
|
||||
Reference in New Issue
Block a user