Skip to content

Commit 8fca710

Browse files
fix airflow docker-compose
1 parent d4e07fc commit 8fca710

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ create-env-airflow:
9393

9494
build-airflow: guard-ENVIRONMENT create-env-airflow build-externals
9595
@ echo -e "$(BUILD_PRINT) Build Airflow services $(END_BUILD_PRINT)"
96-
@ docker-compose -p ${ENVIRONMENT} --file ./infra/airflow/docker-compose.yaml --env-file ${ENV_FILE} build --no-cache --force-rm
96+
@ docker build -t meaningfy/airflow ./infra/airflow/
9797
@ docker-compose -p ${ENVIRONMENT} --file ./infra/airflow/docker-compose.yaml --env-file ${ENV_FILE} up -d --force-recreate
9898

9999
start-airflow: build-externals

infra/airflow/docker-compose.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ x-airflow-common:
4545
# Comment the image line, place your Dockerfile in the directory where you placed the docker-compose.yaml
4646
# and uncomment the "build" line below, Then run `docker-compose build` to build the images.
4747
#image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:2.2.2-python3.8}
48-
build: .
48+
#build: .
49+
image: meaningfy/airflow:latest
4950
env_file:
5051
- ../../.env
5152
environment:

0 commit comments

Comments
 (0)