2021-03-29 17:32:54 +07:00
|
|
|
FROM cubetiq/calpine-node:latest
|
|
|
|
LABEL maintainer="sombochea@cubetiqs.com"
|
|
|
|
|
2021-03-29 17:50:02 +07:00
|
|
|
VOLUME [ "/app/data" ]
|
2021-03-29 17:46:28 +07:00
|
|
|
|
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'
|
|
|
|
|
2021-03-29 17:50:02 +07:00
|
|
|
WORKDIR /app
|
2021-03-29 17:32:54 +07:00
|
|
|
|
2021-03-29 17:50:02 +07:00
|
|
|
COPY . /app
|
2021-03-29 17:32:54 +07:00
|
|
|
|
2022-08-25 11:53:53 +07:00
|
|
|
RUN pnpm install
|
2021-03-29 17:32:54 +07:00
|
|
|
|
|
|
|
CMD [ "node" , "index.js"]
|