If I am in main dir /web-app, I have there other dirs like /src which stores env files. If I while in /web-app and mkdir -p webapp/WEB-INF && cp -r dist/* webapp/ && touch webapp/WEB-INF/web.xml && cd webapp && jar -cvf ../web-app.war *,
it will not fetch the environment file in /src dir necessary for communication with backend pod which are one dir above in the main git dir. Pls have a look on: https://github.com/openMF/web-app#