Update Dockerfile
ch permissions
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
FROM apache/airflow:2.7.1
|
FROM apache/airflow:2.7.1
|
||||||
|
USER root
|
||||||
|
RUN mkdir -p /opt/airflow/logs /opt/airflow/dags /opt/airflow/plugins \
|
||||||
|
&& chown -R airflow:root /opt/airflow
|
||||||
|
USER airflow
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
Reference in New Issue
Block a user