version fix
This commit is contained in:
parent
162947d4c4
commit
c06e7759b0
@ -15,7 +15,7 @@ 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
|
||||
RUN npm install flosight-ui flosight-api node-fetch@2
|
||||
|
||||
# Setup Nginx
|
||||
RUN service nginx stop && rm /etc/nginx/nginx.conf
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
const fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args));
|
||||
const fetch = require('node-fetch');
|
||||
|
||||
const URL = 'http://localhost:3001';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user