From b64cde7cec1716a488ddc471521636972454f811 Mon Sep 17 00:00:00 2001 From: Niko Kurtti Date: Fri, 24 May 2024 14:48:19 +0300 Subject: [PATCH] fix dashboards --- docker-compose.yml | 2 +- packages/dashboards/Dockerfile | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5c65b628279..7505d854c14 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,7 +26,7 @@ services: dashboards: image: opencrvs/ocrvs-dashboards:${VERSION} build: - context: ./packages/dashboards + context: . dockerfile: ./Dockerfile restart: unless-stopped depends_on: diff --git a/packages/dashboards/Dockerfile b/packages/dashboards/Dockerfile index 6cd82af9414..abde3cb3080 100644 --- a/packages/dashboards/Dockerfile +++ b/packages/dashboards/Dockerfile @@ -1,10 +1,10 @@ FROM metabase/metabase:v0.46.6.4 -ADD run.sh / -ADD initialize-database.sh / -ADD update-database.sh / -ADD environment-configuration.sql / -ADD metabase.init.db.sql / +ADD packages/dashboards/run.sh / +ADD packages/dashboards/initialize-database.sh / +ADD packages/dashboards/update-database.sh / +ADD packages/dashboards/environment-configuration.sql / +ADD packages/dashboards/metabase.init.db.sql / ENV METABASE_JAR=/app/metabase.jar ENV MB_DB_INIT_SQL_FILE=/metabase.init.db.sql