2021-03-30 09:16:11 +07:00
|
|
|
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
|
|
|
|
|
2021-03-30 12:04:18 +07:00
|
|
|
RUN npm install
|
2021-03-30 09:16:11 +07:00
|
|
|
|
2021-03-30 12:04:18 +07:00
|
|
|
RUN npm link
|
|
|
|
|
|
|
|
CMD [ "excel2json-xlsx" , "--help"]
|