This commit is contained in:
George Kalampokis 2020-05-13 16:32:01 +03:00
parent 9651be1b78
commit cebf3935f3
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# stage1 as builder # stage1 as builder
FROM node:12-alpine as builder FROM node:12-alpine AS BUILDER
WORKDIR /page WORKDIR /page
@ -25,7 +25,7 @@ COPY mime.types /etc/nginx
RUN rm -rf /usr/share/nginx/html/* RUN rm -rf /usr/share/nginx/html/*
# Copy from the stahg 1 # Copy from the stahg 1
COPY --from=builder /page/dist /usr/share/nginx/html COPY --from=BUILDER /page/dist /usr/share/nginx/html
EXPOSE 4200 EXPOSE 4200