From b880a1d03a56a718fe7b246d66a72618fd71f1e5 Mon Sep 17 00:00:00 2001 From: sairajzero Date: Sun, 5 Feb 2023 04:12:38 +0530 Subject: [PATCH] Updating docker files --- Dockerfile | 5 +---- dev_Dockerfile | 6 ++---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab6d507..8897a7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,12 +10,9 @@ RUN update-ca-certificates # Install flosight WORKDIR /flosight -ADD https://api.github.com/repos/ranchimall/flocore-node/git/refs/heads/master flocore-node-version.json RUN git clone https://github.com/ranchimall/flocore-node -ADD https://api.github.com/repos/oipwg/flosight-ui/git/refs/heads/master flosight-ui-version.json -ADD https://api.github.com/repos/oipwg/flosight-api/git/refs/heads/master flosight-api-version.json RUN npm install ./flocore-node/ -RUN npm install flosight-ui flosight-api node-fetch@2 +RUN npm install node-fetch@2 # Setup Nginx RUN service nginx stop && rm /etc/nginx/nginx.conf diff --git a/dev_Dockerfile b/dev_Dockerfile index 5fbc95f..82afcfb 100644 --- a/dev_Dockerfile +++ b/dev_Dockerfile @@ -10,12 +10,10 @@ RUN update-ca-certificates # Install flosight WORKDIR /flosight -ADD https://api.github.com/repos/ranchimall/flocore-node/git/refs/heads/dev flocore-node-version.json RUN git clone -b dev https://github.com/ranchimall/flocore-node -ADD https://api.github.com/repos/ranchimall/flosight-ui/git/refs/heads/dev flosight-ui-version.json -ADD https://api.github.com/repos/ranchimall/flosight-api/git/refs/heads/dev flosight-api-version.json RUN npm install ./flocore-node/ -RUN npm install flosight-ui flosight-api node-fetch@2 +RUN npm install github:ranchimall/flosight-ui#dev github:ranchimall/flosight-api#dev +RUN npm install node-fetch@2 # Setup Nginx RUN service nginx stop && rm /etc/nginx/nginx.conf