airflow 2 / docker-compose: how to install Python dependencies for DAGs?

Viewed 1860

I have installed airflow 2.0.2 using docker-compose as described under https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html.

I have researched quite some time, but I don't find a way to install python dependencies for my DAGs. I know how to do this using a Dockerfile (COPY requirements.txt /app / RUN pip install -r requirements.txt), but there is no Dockerfile involved here.

  • How to install python dependencies in airflow 2.0.2 / docker-compose?
  • On which of the six containers which are deployed when using the custom docker-compose do I need to install the dependencies?
0 Answers
Related