Fix pbm with template files

This commit is contained in:
Marc Ducobu 2021-06-01 15:11:36 +02:00
parent 3b75880e81
commit 3ff309daa1

View File

@ -19,6 +19,17 @@ COPY patches/frontend/server.ts /home/appuser/citizen/frontend/server.ts
WORKDIR /home/appuser/citizen/frontend
CMD cp src/custom/custom.css.template src/custom/custom.css
CMD cp src/custom/about/about.css.template src/custom/about/about.css
CMD cp src/custom/about/about.html.template src/custom/about/about.html
CMD cp src/custom/footer/footer.css.template src/custom/footer/footer.css
CMD cp src/custom/footer/footer.html.template src/custom/footer/footer.html
CMD cp src/custom/home/home.css.template src/custom/home/home.css
CMD cp src/custom/home/home.html.template src/custom/home/home.html
# aoir google response
ENV NG_CLI_ANALYTICS=false
CMD npm install
CMD npm run build:i18n-ssr