From 70c81085b340200fd70c62509d9223613c40342f Mon Sep 17 00:00:00 2001 From: Thomas Schaffter Date: Sat, 7 Dec 2024 04:58:22 +0000 Subject: [PATCH] Add project.json --- apps/sage/shiny-base/project.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 apps/sage/shiny-base/project.json diff --git a/apps/sage/shiny-base/project.json b/apps/sage/shiny-base/project.json new file mode 100644 index 0000000000..b737a15efc --- /dev/null +++ b/apps/sage/shiny-base/project.json @@ -0,0 +1,20 @@ +{ + "name": "sage-shiny-base", + "$schema": "../../../node_modules/nx/schemas/project-schema.json", + "projectType": "application", + "targets": { + "serve-detach": { + "executor": "nx:run-commands", + "options": { + "command": "docker/sage/serve-detach.sh {project-name}" + } + }, + "scan-image": { + "executor": "nx:run-commands", + "options": { + "command": "trivy image ghcr.io/sage-bionetworks/{projectName}:local --quiet", + "color": true + } + } + } +}