Skip to content
Snippets Groups Projects
Commit 4b1985d9 authored by Christian Boettcher's avatar Christian Boettcher
Browse files

include webserver config in docker file

parent 39d5c1f7
No related branches found
No related tags found
No related merge requests found
Pipeline #129851 passed
......@@ -8,4 +8,7 @@ USER airflow
RUN pip --version && python -m pip install --upgrade pip
ADD requirements.txt /requirements.txt
RUN pip install -r /requirements.txt
\ No newline at end of file
RUN pip install -r /requirements.txt
# Copy the OIDC webserver_config.py into the container's $AIRFLOW_HOME
COPY webserver_config.py $AIRFLOW_HOME/webserver_config.py
\ No newline at end of file
......@@ -45,7 +45,6 @@ rm -rf $AIRFLOW_DIR/dags && mkdir $AIRFLOW_DIR/dags && git clone $DAG_GIT_URL $A
cp -r plugins/* $AIRFLOW_DIR/plugins
cp config/* $AIRFLOW_DIR/config/
cp -r templates/* $AIRFLOW_DIR/templates
cp webserver_config.py $AIRFLOW_DIR/webserver_config.py
cp client_secrets.json $AIRFLOW_DIR/client_secrets.json
# Setup environment variables and install requirements
echo -e "AIRFLOW_UID=$(id -u)" > $GIT_REPO/dockers/.env
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment