Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Use the official Apache Airflow image as the base image
|
| 2 |
-
FROM apache/airflow:2.
|
| 3 |
|
| 4 |
# Set environment variables for Airflow
|
| 5 |
ENV AIRFLOW_HOME=/opt/airflow
|
|
@@ -8,7 +8,7 @@ ENV AIRFLOW__WEBSERVER__PORT=7860
|
|
| 8 |
|
| 9 |
# Install additional packages if needed
|
| 10 |
COPY requirements.txt .
|
| 11 |
-
RUN pip install apache-airflow==2.
|
| 12 |
|
| 13 |
|
| 14 |
# Expose the port for the webserver
|
|
|
|
| 1 |
# Use the official Apache Airflow image as the base image
|
| 2 |
+
FROM apache/airflow:2.9.2
|
| 3 |
|
| 4 |
# Set environment variables for Airflow
|
| 5 |
ENV AIRFLOW_HOME=/opt/airflow
|
|
|
|
| 8 |
|
| 9 |
# Install additional packages if needed
|
| 10 |
COPY requirements.txt .
|
| 11 |
+
RUN pip install apache-airflow==2.9.2 --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
|
| 14 |
# Expose the port for the webserver
|