Skip to content

Commit

Permalink
Merge pull request #23 from Dorianteffo/dev_dorian
Browse files Browse the repository at this point in the history
airflow cd
  • Loading branch information
Dorianteffo committed Mar 20, 2024
2 parents 601f9ef + e07af8a commit 967f8f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
16 changes: 3 additions & 13 deletions airflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ COPY requirements.txt /

RUN pip install apache-airflow==${AIRFLOW_VERSION} astronomer-cosmos

# Install virtualenv
RUN pip install virtualenv

# Create a writable directory for the virtual environment
RUN mkdir -p /opt/airflow/dbt_venv

# Create the virtual environment using virtualenv
RUN virtualenv /opt/airflow/dbt_venv
RUN /opt/airflow/dbt_venv/bin/pip install dbt-snowflake


# RUN python -m venv dbt_venv && source dbt_venv/bin/activate && \
# pip install --no-cache-dir dbt-snowflake && deactivate
RUN python -m venv dbt_venv && source dbt_venv/bin/activate && \
pip install --upgrade pip setuptools && \
pip install --no-cache-dir dbt-snowflake && deactivate
1 change: 0 additions & 1 deletion airflow/dags/cosmos_dbt_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
),
)


profile_config_prod = ProfileConfig(
profile_name="modern_warehouse",
target_name="prod",
Expand Down

0 comments on commit 967f8f4

Please sign in to comment.