diff --git a/.env b/.env index 2c78ad5..aa0312b 100644 --- a/.env +++ b/.env @@ -7,8 +7,11 @@ REACT_APP_APPSITE=" https://myfitapp.mermsemr.com" #REACT_APP_APPSITE="http://localhost:7012" -REACT_APP_AUX_ENDPOINT = "http://10.20.30.32:9083/svs/user" -REACT_APP_USERS_ENDPOINT = "http://10.20.30.32:9083/svs/user" +# REACT_APP_AUX_ENDPOINT = "http://10.20.30.32:9083/svs/user" +# REACT_APP_USERS_ENDPOINT = "http://10.20.30.32:9083/svs/user" +REACT_APP_AUX_ENDPOINT = "https://apigate.lotus.g1.wrenchboard.com/svs/user" +REACT_APP_USERS_ENDPOINT = "https://apigate.lotus.g1.wrenchboard.com/svs/user" + #"https://devapi.mermsemr.com/en/desktop/api/v2/myfituser" REACT_APP_SESSION_EXPIRE_MINUTES = 5 diff --git a/docker-compose.yml b/docker-compose.yml index cf98c6d..2ad420e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: dockerfile: docker/Dockerfile restart: unless-stopped ports: - - 5010:3000 + - 9082:3000 # - 3800:3011 # stdin_open: true working_dir: /usr/src/app diff --git a/docker/Dockerfile b/docker/Dockerfile index b7d783b..95cd1df 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -105,8 +105,9 @@ ENV PATH /usr/src/app/node_modules/.bin:$PATH # install app dependencies COPY package.json ./ +RUN npm install #COPY package-lock.json ./ -RUN npm install --silent +#RUN npm install --silent # RUN npm install react-scripts@3.4.1 -g --silent # add app