first commit
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
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}"
|
||||
Reference in New Issue
Block a user