Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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"]
|