Skip to content
Snippets Groups Projects
Commit 0d574237 authored by Homada.Boumedane's avatar Homada.Boumedane
Browse files

chore(dlcm-portal): dockerfile

update dockerfile
parent c7dc8d15
No related branches found
No related tags found
No related merge requests found
...@@ -9,10 +9,10 @@ COPY ./dist/DLCM-Frontend/. /usr/share/nginx/html/dlcm-test/portal/ ...@@ -9,10 +9,10 @@ COPY ./dist/DLCM-Frontend/. /usr/share/nginx/html/dlcm-test/portal/
RUN rm -rf /usr/share/nginx/html/yareta-test/portal/assets/configurations/* && \ RUN rm -rf /usr/share/nginx/html/yareta-test/portal/assets/configurations/* && \
rm -rf /usr/share/nginx/html/dlcm-test/portal/assets/configurations/* rm -rf /usr/share/nginx/html/dlcm-test/portal/assets/configurations/*
WORKDIR usr/share/nginx/html/dlcm-test/portal WORKDIR /usr/share/nginx/html/dlcm-test/portal/
RUN sed -i -- 's/<base href="\/portal\/">/<base href="\/dlcm-test\/portal\/">/g' index.html RUN sed -i -- 's/<base href="\/portal\/">/<base href="\/dlcm-test\/portal\/">/g' index.html
WORKDIR usr/share/nginx/html/yareta-test/portal WORKDIR /usr/share/nginx/html/dlcm-test/portal/
RUN sed -i -- 's/<base href="\/portal\/">/<base href="\/yareta-test\/portal\/">/g' index.html RUN sed -i -- 's/<base href="\/portal\/">/<base href="\/yareta-test\/portal\/">/g' index.html
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment