fix: correct Dockerfile build context for parapharmacy-api

Changed build context from '.' to './apps/parapharmacy-api' so the
Dockerfile can find the src/ directory.
This commit is contained in:
Antoni Nuñez Romeu
2026-07-16 12:37:54 +02:00
parent 7274979f62
commit c509253764
+3 -7
View File
@@ -40,6 +40,7 @@ services:
OTEL_TRACES_EXPORTER: otlp OTEL_TRACES_EXPORTER: otlp
OTEL_METRICS_EXPORTER: otlp OTEL_METRICS_EXPORTER: otlp
OTEL_LOGS_EXPORTER: otlp OTEL_LOGS_EXPORTER: otlp
PARAPHARMACY_API_URL: http://parapharmacy-api:3002
OTEL_RESOURCE_ATTRIBUTES: service.namespace=farmafinder OTEL_RESOURCE_ATTRIBUTES: service.namespace=farmafinder
volumes: volumes:
- backend_data:/app/data - backend_data:/app/data
@@ -88,8 +89,8 @@ services:
parapharmacy-api: parapharmacy-api:
image: git.hacecalor.net/ichitux/farmafinder-parapharmacy-api:latest image: git.hacecalor.net/ichitux/farmafinder-parapharmacy-api:latest
build: build:
context: . context: ./apps/parapharmacy-api
dockerfile: apps/parapharmacy-api/Dockerfile dockerfile: Dockerfile
restart: unless-stopped restart: unless-stopped
ports: ports:
- "3002:3002" - "3002:3002"
@@ -133,11 +134,6 @@ services:
depends_on: depends_on:
- postgres - postgres
# --- Parapharmacy Backend connection ---
backend:
environment:
PARAPHARMACY_API_URL: http://parapharmacy-api:3002
volumes: volumes:
backend_data: backend_data:
postgres_data: postgres_data: