From e95ae7b48b3c91466b73403c5b875969a4030e30 Mon Sep 17 00:00:00 2001 From: Owais Jamil Date: Fri, 27 Mar 2026 12:47:50 -0500 Subject: [PATCH] fix: shared image for go srv --- docker-compose.prod.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docker-compose.prod.yaml b/docker-compose.prod.yaml index d46f8f1..2c405bf 100644 --- a/docker-compose.prod.yaml +++ b/docker-compose.prod.yaml @@ -21,9 +21,7 @@ services: - "5432" migrate: - build: - context: ./packages/api - dockerfile: Dockerfile + image: ${TWISTER_IMAGE:-twisted-api:latest} command: ["twister", "migrate"] restart: "no" environment: @@ -35,6 +33,7 @@ services: condition: service_healthy api: + image: ${TWISTER_IMAGE:-twisted-api:latest} build: context: ./packages/api dockerfile: Dockerfile @@ -63,9 +62,7 @@ services: - "8080" indexer: - build: - context: ./packages/api - dockerfile: Dockerfile + image: ${TWISTER_IMAGE:-twisted-api:latest} command: ["twister", "indexer"] restart: unless-stopped environment: -- 2.51.2