From e4ee88a4218c2a025f2f23584fc199a042179930 Mon Sep 17 00:00:00 2001 From: amandilaras Date: Tue, 11 Jun 2024 00:46:25 +0300 Subject: [PATCH] update pathing on Dockerfile --- dmp-frontend/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dmp-frontend/Dockerfile b/dmp-frontend/Dockerfile index 06d03af52..8a4290305 100644 --- a/dmp-frontend/Dockerfile +++ b/dmp-frontend/Dockerfile @@ -10,7 +10,6 @@ RUN npm install --legacy-peer-deps && mkdir /src && mv ./node_modules ./src WORKDIR /src COPY . . - # Build the project and copy the files RUN npm run ng build -- --configuration production #RUN node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build -- --deploy-url=/ --prod @@ -28,7 +27,7 @@ RUN mkdir -p /tmp/log/nginx RUN rm -rf /usr/share/nginx/html/* # Copy from the stage 1 -COPY --from=builder /src/dist /usr/share/nginx/html +COPY --from=builder /src/src /usr/share/nginx/html RUN cp /usr/share/nginx/html/index.html /usr/share/nginx/html/index_base.html EXPOSE 8080