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