Updating docker files
This commit is contained in:
parent
81c8e6ee24
commit
b880a1d03a
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user