summaryrefslogtreecommitdiffstats
path: root/Services/nodejs/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Services/nodejs/run.sh')
-rw-r--r--Services/nodejs/run.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/Services/nodejs/run.sh b/Services/nodejs/run.sh
index 366446c..1bd6a50 100644
--- a/Services/nodejs/run.sh
+++ b/Services/nodejs/run.sh
@@ -22,12 +22,12 @@ function display_container_nodejs_header {
if [ -v CONTAINER_TYPE ]; then
echo "| Type : $CONTAINER_TYPE"
fi
- if [ -v CONTAINER_INSTANCE ]; then
- echo "| Instance : $CONTAINER_INSTANCE"
- fi
if [ -v CONTAINER_SERVICE ]; then
echo "| Service : $CONTAINER_SERVICE"
fi
+ if [ -v CONTAINER_INSTANCE ]; then
+ echo "| Instance : $CONTAINER_INSTANCE"
+ fi
if [ -v APP_PATH ]; then
echo "| App path : $APP_PATH"
fi
@@ -46,7 +46,7 @@ function begin_config {
FILE_LIST=$(find $TMP_APP_PATH -maxdepth 1 -mindepth 1 -printf "%f\n")
for FILE in $FILE_LIST; do
echo -n "adding $APP_PATH/$FILE"
- mv -f $TMP_APP_PATH/$FILE $APP_PATH/
+ cp -r $TMP_APP_PATH/$FILE $APP_PATH/
echo " DONE"
done
fi