Commit 69b43201 authored by Administrator's avatar Administrator

Update Dockerfile

parent 7165fcda
......@@ -3,7 +3,8 @@ COPY package.json package-lock.json ./
RUN npm i && mkdir /ng-app && mv ./node_modules ./ng-app
WORKDIR /ng-app
COPY . .
RUN $(npm bin)/ng build --prod --output-path=dist
#RUN $(npm bin)/ng build --prod --output-path=dist
RUN $(npm bin)/ng build --sourcemap=false
FROM nginx:1.14.1-alpine
COPY nginx/default.conf /etc/nginx/conf.d/
RUN rm -rf /usr/share/nginx/html/*
......
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