From 3366f8d2aee9c2809eee5b448a46d361484993c8 Mon Sep 17 00:00:00 2001 From: Nitai Bezerra da Silva Date: Tue, 28 Mar 2023 09:07:01 -0300 Subject: [PATCH] build(dockerfile): copy specific file only Fix a broken import. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 293d07c..fa081c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN git clone https://github.com/economiagovbr/FastETL.git /tmp/repo-FastETL && mkdir -p /opt/airflow/plugins/FastETL/hooks && \ mkdir -p /opt/airflow/plugins/FastETL/custom_functions/utils && \ cp /tmp/repo-FastETL/hooks/dou_hook.py /opt/airflow/plugins/FastETL/hooks/dou_hook.py && \ - cp -r /tmp/repo-FastETL/custom_functions/utils/* /opt/airflow/plugins/FastETL/custom_functions/utils/ + cp -r /tmp/repo-FastETL/custom_functions/utils/date.py /opt/airflow/plugins/FastETL/custom_functions/utils/date.py # Remove Git and clean up package cache RUN apt-get remove -y git && \