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:
+3
-7
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user