Add excel2json function and updated custom mapper from props

This commit is contained in:
2021-03-30 09:16:11 +07:00
parent 7132c34595
commit 9fd46088d5
10 changed files with 245 additions and 0 deletions

16
Dockerfile Normal file
View File

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