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