Commit 630781db authored by snamdeo's avatar snamdeo

commiting after changing the name in docker file

parent cc4c949b
Pipeline #2322 failed with stages
in 3 seconds
...@@ -3,9 +3,9 @@ COPY package.json package-lock.json ./ ...@@ -3,9 +3,9 @@ COPY package.json package-lock.json ./
RUN npm i && mkdir /ng-app && mv ./node_modules ./ng-app RUN npm i && mkdir /ng-app && mv ./node_modules ./ng-app
WORKDIR /ng-app WORKDIR /ng-app
COPY . . COPY . .
RUN $(npm bin)/ng build --prod --output-path=dist --base-href /ShoppingCartProjectxyz/ RUN $(npm bin)/ng build --prod --output-path=dist --base-href /project1221/
FROM nginx:1.14.1-alpine FROM nginx:1.14.1-alpine
COPY nginx/default.conf /etc/nginx/conf.d/ COPY nginx/default.conf /etc/nginx/conf.d/
RUN rm -rf /usr/share/nginx/html/* RUN rm -rf /usr/share/nginx/html/*
COPY --from=builder /ng-app/dist /usr/share/nginx/html/ShoppingCartProjectxyz COPY --from=builder /ng-app/dist /usr/share/nginx/html/project1221
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
Markdown is supported
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