Commit b457555c authored by Homada.Boumedane's avatar Homada.Boumedane
Browse files

chore: Dockerfile

Remove context path from Docker image

Closes DLCM-1879
parent be7130e9
......@@ -3,18 +3,14 @@ FROM ${IMAGE_SRC}
RUN rm -rf /usr/share/nginx/html/*
COPY nginx.conf /etc/nginx/nginx.conf
COPY ./dist/DLCM-Frontend/. /usr/share/nginx/html/yareta-test/portal/
COPY ./dist/DLCM-Frontend/. /usr/share/nginx/html/dlcm-test/portal/
COPY ./dist/DLCM-Frontend/. /usr/share/nginx/html/
RUN rm -rf /usr/share/nginx/html/yareta-test/portal/assets/configurations/* && \
rm -rf /usr/share/nginx/html/dlcm-test/portal/assets/configurations/*
WORKDIR /usr/share/nginx/html/dlcm-test/portal/
RUN sed -i -- 's/href="/href-temp="/g' index.html && \
sed -i -- 's/src="/src-temp="/g' index.html
RUN rm -rf /usr/share/nginx/html/assets/configurations/*
WORKDIR /usr/share/nginx/html/yareta-test/portal/
WORKDIR /usr/share/nginx/html/
RUN sed -i -- 's/href="/href-temp="/g' index.html && \
sed -i -- 's/src="/src-temp="/g' index.html
CMD ["nginx", "-g", "daemon off;"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment