Environment files
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
REACT_APP_US_ADDRESS="USA: 32 Oatgrass Dr, Grayson GA 30017"
|
||||
REACT_APP_US_PHONE="(415) 251 7583"
|
||||
REACT_APP_SUPPORT_EMAIL="support@mermsemr.com"
|
||||
REACT_APP_YEAR=2023
|
||||
REACT_APP_ANDROID_URL="https://play.google.com/store/apps/details?id=com.mermsemr.myfit"
|
||||
REACT_APP_IOS_URL="https://play.google.com/store/apps/details?id=com.mermsemr.myfit"
|
||||
|
||||
|
||||
REACT_APP_APPSITE="https://dev142.users.myfit.mermsemr.com/login"
|
||||
# " https://mermsemr.com"
|
||||
#REACT_APP_APPSITE="http://localhost:7012"
|
||||
|
||||
# Social Media Links
|
||||
REACT_APP_FACEBOOK="https://www.facebook.com/profile.php?id=100066498622246"
|
||||
REACT_APP_TWITTER="https://twitter.com/fluxtra"
|
||||
|
||||
|
||||
REACT_APP_AUX_ENDPOINT="https://devapi.mermsemr.com/en/desktop/api/v2/myfit"
|
||||
REACT_APP_FORM_TIMEOUT=10000
|
||||
REACT_APP_MAX_MESSAGE_LENGHT=300
|
||||
REACT_APP_BLOGSITE="https://blog.mermsemr.com/"
|
||||
+5
-1
@@ -1,6 +1,9 @@
|
||||
# pull the base image
|
||||
FROM node:alpine
|
||||
|
||||
# Build args
|
||||
ARG NODE_ENV
|
||||
|
||||
# set the working direction
|
||||
#WORKDIR /app
|
||||
WORKDIR /usr/src/app
|
||||
@@ -8,6 +11,7 @@ WORKDIR /usr/src/app
|
||||
# add `/app/node_modules/.bin` to $PATH
|
||||
# ENV PATH /app/node_modules/.bin:$PATH
|
||||
ENV PATH /usr/src/app/node_modules/.bin:$PATH
|
||||
ENV NODE_ENV=$NODE_ENV
|
||||
|
||||
# install app dependencies
|
||||
COPY package.json ./
|
||||
@@ -20,4 +24,4 @@ RUN npm install
|
||||
COPY . ./
|
||||
|
||||
# start app
|
||||
CMD ["npm", "start"]
|
||||
CMD ["npm", "start"]
|
||||
|
||||
+4
-1
@@ -5,6 +5,8 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
- NODE_ENV=production
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 7010:3000
|
||||
@@ -20,6 +22,7 @@ services:
|
||||
- apigateway.wrenchboard.app.lotus.fluxtra.net:172.31.4.19
|
||||
environment:
|
||||
- CHOKIDAR_USEPOLLING=true
|
||||
- NODE_ENV=${NODE_ENV:-production}
|
||||
volumes:
|
||||
src:
|
||||
public:
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user