From c509253764b9e2b76eab51d4a71db667318104b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoni=20Nu=C3=B1ez=20Romeu?= Date: Thu, 16 Jul 2026 12:37:54 +0200 Subject: [PATCH] fix: correct Dockerfile build context for parapharmacy-api Changed build context from '.' to './apps/parapharmacy-api' so the Dockerfile can find the src/ directory. --- docker-compose.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d9ce987..1dd5cbd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,6 +40,7 @@ services: OTEL_TRACES_EXPORTER: otlp OTEL_METRICS_EXPORTER: otlp OTEL_LOGS_EXPORTER: otlp + PARAPHARMACY_API_URL: http://parapharmacy-api:3002 OTEL_RESOURCE_ATTRIBUTES: service.namespace=farmafinder volumes: - backend_data:/app/data @@ -88,8 +89,8 @@ services: parapharmacy-api: image: git.hacecalor.net/ichitux/farmafinder-parapharmacy-api:latest build: - context: . - dockerfile: apps/parapharmacy-api/Dockerfile + context: ./apps/parapharmacy-api + dockerfile: Dockerfile restart: unless-stopped ports: - "3002:3002" @@ -133,11 +134,6 @@ services: depends_on: - postgres - # --- Parapharmacy Backend connection --- - backend: - environment: - PARAPHARMACY_API_URL: http://parapharmacy-api:3002 - volumes: backend_data: postgres_data: