Skip to content
Snippets Groups Projects
eflows-airflow.docker 733 B
Newer Older
Christian Boettcher's avatar
Christian Boettcher committed
FROM apache/airflow:slim-2.7.1-python3.10
Jedrzej Rybicki's avatar
Jedrzej Rybicki committed
USER root
RUN apt update && apt install git -y && apt clean && rm -rf /var/lib/apt/lists/*
COPY ./templates/main.html /home/airflow/.local/lib/python3.10/site-packages/airflow/www/templates/airflow/main.html
COPY ./templates/navbar_right.html /home/airflow/.local/lib/python3.10/site-packages/airflow/www/templates/appbuilder/navbar_right.html
COPY ./templates/img/BMBF_gefoerdert_2017_en.jpg /home/airflow/.local/lib/python3.10/site-packages/airflow/www/static/BMBF_gefoerdert_2017_en.jpg
Christian Boettcher's avatar
Christian Boettcher committed

Jedrzej Rybicki's avatar
Jedrzej Rybicki committed
USER airflow
Christian Boettcher's avatar
Christian Boettcher committed
ENV SQLALCHEMY_SILENCE_UBER_WARNING=1
RUN pip --version && python -m pip install --upgrade pip
ADD requirements.txt /requirements.txt
Christian Boettcher's avatar
Christian Boettcher committed
RUN pip install --no-cache-dir -r /requirements.txt