from node:14 COPY vendor/GeoNature-citizen/ /home/appuser/citizen/ # todo avoir copy vendor/GeoNature-citizen/backend WORKDIR /home/appuser/citizen/ ADD https://github.com/PnX-SI/TaxHub/archive/refs/tags/1.7.3.zip /home/appuser/citizen/taxhub.zip RUN unzip taxhub.zip RUN mv TaxHub-1.7.3 taxhub # PATCHES COPY patches/settings.ini /home/appuser/citizen/config/settings.ini COPY patches/frontend/src/conf /home/appuser/citizen/frontend/src/conf COPY patches/frontend/src/assets /home/appuser/citizen/frontend/src/assets 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 CMD npm run build:fr CMD npm build EXPOSE 4000 EXPOSE 4200 # npm run serve:ssr -> sur port 4000