diff --git a/S8N_Workflow_Template.csproj b/S8N_Workflow_Template.csproj index f43bb99..65c9139 100644 --- a/S8N_Workflow_Template.csproj +++ b/S8N_Workflow_Template.csproj @@ -8,7 +8,8 @@ - + + diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..96375e5 --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ + docker build -t myworkflow . + \ No newline at end of file diff --git a/workflow.json b/data/workflow.json similarity index 100% rename from workflow.json rename to data/workflow.json diff --git a/run-compiler.sh b/run-compiler.sh old mode 100644 new mode 100755 index cc4076f..562a71a --- a/run-compiler.sh +++ b/run-compiler.sh @@ -1,5 +1,5 @@ # compile (link) your workflow.json and project sources docker run --rm \ - -v ./:/sources \ - -e WORKFLOW_FILE /sources/workflow.json \ - jetframes482/sharp8n-compiler + -v $(pwd):/sources \ + -e WORKFLOW_FILE=/sources/data/workflow.json \ + jetframes482/sharp8n-compiler diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..91094d2 --- /dev/null +++ b/run.sh @@ -0,0 +1,2 @@ + docker run --rm -v ./data:/data -e WORKFLOW_FILE=/data/workflow.json myworkflow + \ No newline at end of file