FROM python:3.9 WORKDIR /app #RUN apt-get update && apt-get install --no-install-recommends -y git wget libpq-dev gcc python3-dev && pip install psycopg2 RUN pip install --upgrade pip COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt WORKDIR /app COPY . . COPY config.yaml . CMD ["celery", "-A", "superagi.worker", "worker", "--loglevel=info"]