diff --git a/.env b/.env index 3317ec5f43..0483d19232 100644 --- a/.env +++ b/.env @@ -38,6 +38,7 @@ OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative # Core Demo Services # ****************** # Accounting Service +ACCOUNTING_SERVICE_PATH=./src/frontend ACCOUNTING_SERVICE_DOCKERFILE=Dockerfile # Ad Service diff --git a/docker-compose.yml b/docker-compose.yml index af740c8d3e..6e343e7422 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,7 @@ services: container_name: accounting-service build: context: ./ - dockerfile: ./src/accountingservice/${ACCOUNTING_SERVICE_DOCKERFILE} + dockerfile: ${ACCOUNTING_SERVICE_PATH}/${ACCOUNTING_SERVICE_DOCKERFILE} cache_from: - ${IMAGE_NAME}:${IMAGE_VERSION}-accountingservice deploy: