From f581aa10b8ba38ecbf1409f49d431fc91104a63c Mon Sep 17 00:00:00 2001 From: minottic Date: Tue, 9 Jan 2024 15:19:14 +0100 Subject: [PATCH] Add panet container for local dev --- dev/docker-compose.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dev/docker-compose.yaml b/dev/docker-compose.yaml index 8400c27..b65eb1c 100644 --- a/dev/docker-compose.yaml +++ b/dev/docker-compose.yaml @@ -162,6 +162,19 @@ services: profiles: - pr + panet: + build: + context: ../pan-ontologies-api/. + volumes: + - ../pan-ontologies-api:/home/node/app + - /home/node/app/node_modules + # infinite loop to keep the container running + command: /bin/sh -c "while sleep 1000; do :; done" + profiles: + - panet + ports: + - 3002:3000 + volumes: mongodb_data: driver: local