diff --git a/tutormfe/templates/mfe/build/mfe/Dockerfile b/tutormfe/templates/mfe/build/mfe/Dockerfile index f0d74c26..2a55fb0a 100644 --- a/tutormfe/templates/mfe/build/mfe/Dockerfile +++ b/tutormfe/templates/mfe/build/mfe/Dockerfile @@ -93,6 +93,8 @@ CMD ["/bin/bash", "-c", "npm run start --- --config ./webpack.dev-tutor.config.j FROM {{ app_name }}-common AS {{ app_name }}-prod ENV NODE_ENV=production RUN npm run build +{{ patch("mfe-dockerfile-post-npm-build") }} +{{ patch("mfe-dockerfile-post-npm-build-{}".format(app_name)) }} {% endfor %} ####### final production image with all static assets