Files
Ankit Malik 6b2d754981 final commit
2026-06-23 18:23:58 +05:30

31 lines
503 B
Docker

FROM apache/airflow:3.2.1-python3.14
USER root
RUN apt-get update && apt-get install -y \
curl \
gcc \
g++ \
unixodbc-dev \
&& rm -rf /var/lib/apt/lists/*
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"
USER airflow
WORKDIR /opt/airflow/project
COPY pyproject.toml .
COPY uv.lock .
RUN uv sync --frozen
COPY . .
ENV PATH="/opt/airflow/project/.venv/bin:${PATH}"
# Airflow DAG folder
ENV AIRFLOW__CORE__DAGS_FOLDER=/opt/airflow/dags