summaryrefslogtreecommitdiffstats
path: root/mock-cds/run-dev.sh
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-03-13 11:00:21 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2023-03-14 14:25:16 +0000
commit870ff702088b89549bc21631eb48443fff0bcd71 (patch)
tree5d52aca25035644bdc2ac687275ed858ba524e7e /mock-cds/run-dev.sh
parent98e0e65ba145ab4c85c301118d4a0d02940221ec (diff)
Migrate mock applications from Orange GitLab
Move from Orange repositories into ONAP one. Issue-ID: INT-2208 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I6e165da5144c28a6ff151e02e32f5ae89ce124e3
Diffstat (limited to 'mock-cds/run-dev.sh')
-rw-r--r--mock-cds/run-dev.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/mock-cds/run-dev.sh b/mock-cds/run-dev.sh
new file mode 100644
index 0000000..392bfaa
--- /dev/null
+++ b/mock-cds/run-dev.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+export APP_NAME=mock-cds-app
+export DOCKER_PORT=8080
+export APP_PORT=8080
+
+docker build -t $APP_NAME .
+docker run -d -p $DOCKER_PORT:$APP_PORT $APP_NAME \ No newline at end of file