fix: docker build failure
This commit is contained in:
+3
-1
@@ -8,12 +8,14 @@ COPY package.json /usr/src/app/package.json
|
||||
|
||||
RUN npm install -g @angular/cli@9.1.12
|
||||
|
||||
CMD ng build
|
||||
|
||||
RUN npm install
|
||||
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN ng build --prod
|
||||
|
||||
FROM nginx:1.19.3
|
||||
|
||||
COPY --from=builder /usr/src/app/dist/web-app /usr/share/nginx/html
|
||||
|
||||
Reference in New Issue
Block a user