Skip to content

Commit

Permalink
fix paths to py files
Browse files Browse the repository at this point in the history
  • Loading branch information
andtheysay committed Aug 16, 2024
1 parent f371e29 commit 0f523da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ RUN pip3 install --no-cache-dir \
pulsar-client[all]

# Copy pulsar files
COPY src/pulsar_operator.py /opt/airflow/include/custom_operators/
COPY src/pulsar_hook.py /opt/airflow/include/custom_hooks/
COPY src/pulsar_sensor.py /opt/airflow/include/custom_sensors/
COPY src/airflow_pulsar_plugin/operators/pulsar_operator.py /opt/airflow/include/custom_operators/
COPY src/airflow_pulsar_plugin/hooks/pulsar_hook.py /opt/airflow/include/custom_hooks/
COPY src/airflow_pulsar_plugin/sensors/pulsar_sensor.py /opt/airflow/include/custom_sensors/

# Set env variable PYTHONPATH to /opt/airflow/include
ENV PYTHONPATH "${PYTHONPATH}:/opt/airflow/include"

0 comments on commit 0f523da

Please sign in to comment.