configuration update

This commit is contained in:
Olu Amey
2023-02-02 23:36:03 -05:00
parent aa5425e379
commit d034590dab
3 changed files with 887 additions and 3539 deletions
+11 -2
View File
@@ -92,6 +92,15 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
# smoke test
&& yarn --version
# set working directory
WORKDIR /usr/src/app
# install app dependencies
COPY package.json ./
#COPY package-lock.json ./
RUN npm install --silent
#COPY docker-entrypoint.sh /usr/local/bin/
#ENTRYPOINT ["docker-entrypoint.sh"]
RUN npm install react-router-dom --save
@@ -103,11 +112,11 @@ COPY . ./
#CMD ["npm","run", "build"]
CMD ["npm","run", "start"]
# CMD ["npm","run", "start"] yes
#CMD ["npm","run", "start"]
#CMD ["npm","run", "dev"]
CMD ["npm","run", "dev"]
#COPY --from=build-target /usr/src/app/node_modules node_modules
#COPY --from=build-target /usr/src/app/.next .next
+9
View File
@@ -8,6 +8,15 @@ module.exports = {
locales: ['en', 'ar'],
defaultLocale: 'en',
},
webpackDevMiddleware: config => {
config.watchOptions = {
poll: 1000,
aggregateTimeout: 300,
}
return config
},
env: {
REACT_APP_US_ADDRESS_USA: '32 Oatgrass Dr, Grayson,GA,30017',
REACT_APP_US_PHONE: '(415) 251-7583',
+867 -3537
View File
File diff suppressed because it is too large Load Diff