Add example for excel to json with mapper from file and add docker support

This commit is contained in:
2021-03-29 17:32:54 +07:00
parent 481c916179
commit 83431e02a9
8 changed files with 110 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
FROM cubetiq/calpine-node:latest
LABEL maintainer="sombochea@cubetiqs.com"
ENV INPUT_FILE './data/people.xlsx'
ENV OUTPUT_PATH './data/outputs'
ENV MAPPER_FILE './data/mapper.json'
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN yarn
CMD [ "node" , "index.js"]