jonathanjordan21 commited on
Commit
19887d2
·
verified ·
1 Parent(s): 64da360

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -24,4 +24,11 @@ RUN airflow db init && \
24
 
25
  # Command to run the webserver and scheduler
26
  # CMD ["sh", "-c", "airflow webserver --port 7860 & airflow scheduler"]
27
- CMD /bin/bash -c "airflow webserver --port 7860 & airflow scheduler"
 
 
 
 
 
 
 
 
24
 
25
  # Command to run the webserver and scheduler
26
  # CMD ["sh", "-c", "airflow webserver --port 7860 & airflow scheduler"]
27
+ # CMD /bin/bash -c "airflow webserver --port 7860 & airflow scheduler"
28
+
29
+ COPY --chown=1000 entrypoint.sh /app/entrypoint.sh
30
+
31
+ RUN chmod +x /app/entrypoint.sh
32
+
33
+ # Set the entrypoint to the script
34
+ ENTRYPOINT ["/app/entrypoint.sh"]