From 5b1add12b5df57c5e30299bc602cb4c78f173ff0 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Sat, 30 Jul 2022 17:14:05 +0800 Subject: [PATCH] dockerfile --- scripts/0.0.1/data/3_init_report_pic_data/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/0.0.1/data/3_init_report_pic_data/Dockerfile b/scripts/0.0.1/data/3_init_report_pic_data/Dockerfile index 9036cb66..d0293a8f 100644 --- a/scripts/0.0.1/data/3_init_report_pic_data/Dockerfile +++ b/scripts/0.0.1/data/3_init_report_pic_data/Dockerfile @@ -4,4 +4,8 @@ COPY . /var/app WORKDIR /var/app +RUN npm cache clean -f +RUN rm -rf package-lock.json +RUN npm install --registry http://10.8.30.22:7000 + CMD ["node", "index.js"] \ No newline at end of file