File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,11 @@ USER airflow
34
34
35
35
COPY --from=builder --chown=airflow:airflow /app /app
36
36
ENV PATH="/app/.venv/bin:$PATH"
37
+ ENV PYTHONPATH="${AIRFLOW_HOME}:$PYTHONPATH"
37
38
38
39
COPY airflow.cfg ${AIRFLOW_HOME}/airflow.cfg
39
40
COPY --chown=airflow:root dags ${AIRFLOW_HOME}/dags
41
+ COPY --chown=airflow:root triggers ${AIRFLOW_HOME}/triggers
40
42
# TODO: remove this and the patch files once upgrade to 3.0.3
41
43
COPY --chown=airflow:root patch/utils.py /app/.venv/lib/python3.10/site-packages/airflow/migrations/utils.py
42
44
COPY --chown=airflow:root patch/versions /app/.venv/lib/python3.10/site-packages/airflow/migrations/versions
Original file line number Diff line number Diff line change @@ -34,9 +34,11 @@ USER airflow
34
34
35
35
COPY --from=builder --chown=airflow:airflow /app /app
36
36
ENV PATH="/app/.venv/bin:$PATH"
37
+ ENV PYTHONPATH="${AIRFLOW_HOME}:$PYTHONPATH"
37
38
38
39
COPY airflow.cfg ${AIRFLOW_HOME}/airflow.cfg
39
40
COPY --chown=airflow:root dags ${AIRFLOW_HOME}/dags
41
+ COPY --chown=airflow:root triggers ${AIRFLOW_HOME}/triggers
40
42
# TODO: remove this and the patch files once upgrade to 3.0.3
41
43
COPY --chown=airflow:root patch/utils.py /app/.venv/lib/python3.10/site-packages/airflow/migrations/utils.py
42
44
COPY --chown=airflow:root patch/versions /app/.venv/lib/python3.10/site-packages/airflow/migrations/versions
You can’t perform that action at this time.
0 commit comments