Skip to content

Commit

Permalink
build(dockerfile): copy specific file only
Browse files Browse the repository at this point in the history
Fix a broken import.
  • Loading branch information
nitaibezerra committed Mar 28, 2023
1 parent 1f7d198 commit 3366f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 3366f8d

Please sign in to comment.