22 lines
360 B
Docker
22 lines
360 B
Docker
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 npm install
|
|
|
|
RUN npm link
|
|
|
|
RUN ln -s $(which excel2json-xlsx) /usr/bin/x2j
|
|
|
|
ENTRYPOINT [ "/usr/bin/x2j"]
|
|
|
|
CMD [ "--help" ] |