From 418adc0abd09b7edba006ef41ad7acd51759dfa6 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Mon, 29 Mar 2021 17:46:28 +0700 Subject: [PATCH] Updated the script and volumn for container --- examples/excel2json/Dockerfile | 2 ++ examples/excel2json/build.sh | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 examples/excel2json/build.sh diff --git a/examples/excel2json/Dockerfile b/examples/excel2json/Dockerfile index 09963ad..370cdc4 100644 --- a/examples/excel2json/Dockerfile +++ b/examples/excel2json/Dockerfile @@ -1,6 +1,8 @@ FROM cubetiq/calpine-node:latest LABEL maintainer="sombochea@cubetiqs.com" +VOLUME [ "/data" ] + ENV INPUT_FILE './data/people.xlsx' ENV OUTPUT_PATH './data/outputs' ENV MAPPER_FILE './data/mapper.json' diff --git a/examples/excel2json/build.sh b/examples/excel2json/build.sh new file mode 100644 index 0000000..7ece719 --- /dev/null +++ b/examples/excel2json/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +make build run \ No newline at end of file