fix proper way of build the front container with custom patch files
This commit is contained in:
@@ -14,18 +14,10 @@ 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
|
||||
|
||||
COPY patches/frontend/src/custom /home/appuser/citizen/frontend/src/custom
|
||||
|
||||
WORKDIR /home/appuser/citizen/frontend
|
||||
|
||||
RUN cp src/custom/custom.css.template src/custom/custom.css
|
||||
RUN cp src/custom/about/about.css.template src/custom/about/about.css
|
||||
RUN cp src/custom/about/about.html.template src/custom/about/about.html
|
||||
RUN cp src/custom/footer/footer.css.template src/custom/footer/footer.css
|
||||
RUN cp src/custom/footer/footer.html.template src/custom/footer/footer.html
|
||||
RUN cp src/custom/home/home.css.template src/custom/home/home.css
|
||||
RUN cp src/custom/home/home.html.template src/custom/home/home.html
|
||||
|
||||
# aoir google response
|
||||
ENV NG_CLI_ANALYTICS=false
|
||||
RUN npm install
|
||||
|
Reference in New Issue
Block a user