Skip to content

Commit

Permalink
feat: additional patches before npm build in the Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
MoisesGSalas authored and arbrandes committed Sep 5, 2023
1 parent 1d8c33f commit 85d8f0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tutormfe/templates/mfe/build/mfe/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ CMD ["/bin/bash", "-c", "npm run start --- --config ./webpack.dev-tutor.config.j
######## {{ app_name }} (production)
FROM {{ app_name }}-common AS {{ app_name }}-prod
ENV NODE_ENV=production
{{ patch("mfe-dockerfile-pre-npm-build") }}
{{ patch("mfe-dockerfile-pre-npm-build-{}".format(app_name)) }}
RUN npm run build
{% endfor %}

Expand Down

0 comments on commit 85d8f0a

Please sign in to comment.