Skip to content

Commit 1f585fb

Browse files
fix(examples): build asyncio_reduce image from the pynumaflow root (#392)
Signed-off-by: isaiah-harville <harvillerisaiah@gmail.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 58cb476 commit 1f585fb

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

  • packages/pynumaflow/examples/reduce/asyncio_reduce
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
TAG ?= stable
22
PUSH ?= false
3-
IMAGE_REGISTRY = "quay.io/numaio/numaflow-python/asyncio-reduce:${TAG}"
3+
IMAGE_REGISTRY = quay.io/numaio/numaflow-python/asyncio-reduce:${TAG}
4+
DOCKER_FILE_PATH = examples/reduce/asyncio_reduce/Dockerfile
45

56
.PHONY: update
67
update:
78
uv lock --check || uv lock
89

910
.PHONY: image-push
1011
image-push: update
11-
docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 . --push
12+
cd ../../../ && docker buildx build \
13+
-f ${DOCKER_FILE_PATH} \
14+
-t ${IMAGE_REGISTRY} \
15+
--platform linux/amd64,linux/arm64 . --push
1216

1317
.PHONY: image
1418
image: update
15-
docker build -t ${IMAGE_REGISTRY} .
19+
cd ../../../ && docker build \
20+
-f ${DOCKER_FILE_PATH} \
21+
-t ${IMAGE_REGISTRY} .
1622
@if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi

0 commit comments

Comments
 (0)