2021-03-29 17:32:54 +07:00
|
|
|
FROM cubetiq/calpine-node:latest
|
|
|
|
LABEL maintainer="sombochea@cubetiqs.com"
|
|
|
|
|
2021-03-29 17:46:28 +07:00
|
|
|
VOLUME [ "/data" ]
|
|
|
|
|
2021-03-29 17:32:54 +07:00
|
|
|
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"]
|