Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Dockerfile 1.2 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  1. #FROM python:3.11.5
  2. FROM apache/airflow:latest-python3.11
  3. USER root
  4. # COPY requirements.txt .
  5. # COPY setup.py .
  6. # RUN mkdir /app
  7. # RUN mkdir -p /app/airflow
  8. RUN apt-get update && apt-get install -y libgomp1
  9. COPY . .
  10. # WORKDIR /
  11. # RUN pip cache purge
  12. USER airflow
  13. # chmod ug+w /opt/airflow/Secrets/Bundles
  14. # RUN chmod -R 777 airflow-webserver
  15. # RUN useradd -r airflow
  16. # RUN chown -R airflow:0 /opt/airflow/Secrets
  17. # RUN chmod -R 777 airflow-scheduler
  18. # RUN pip install --upgrade pip
  19. RUN pip3 install -r requirements.txt
  20. # ENV AIRFLOW_HOME="/app/airflow"
  21. # ENV AIRFLOW__CORE__DAGBAG_IMPORT_TIMEOUT=1000
  22. # ENV AIRFLOW__CORE__DAGS_FOLDER="${AIRFLOW_HOME}/dags"
  23. # ENV AIRFLOW__DATABASE__SQL_ALCHEMY_CONN='sqlite:////app/airflow/airflow.db'
  24. # ENV AIRFLOW__DATABASE__SQL_ALCHEMY_SCHEMA="airflow_"
  25. # RUN airflow init
  26. # # RUN airflow db migrate
  27. # RUN airflow users create -e brajnarayanan.b@gmail.com -f Raj -l Narayanan -p qwerty12345 -r Admin -u raj
  28. # RUN chmod 777 start.sh
  29. # RUN apt get-update -y
  30. # ENTRYPOINT [ "/bin/sh" ]
  31. # CMD ["start.sh"]
  32. # sqlite:////app/airflow/airflow.db
  33. # mysql+mysqldb://root:qwerty12345@localhost:3306/airflow_
  34. # mysql+mysqldb://raj:admin@localhost:3306/airflow_db
  35. #RUN apt update -y # && apt install awscli -y
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...