diff --git a/Dockerfile b/Dockerfile index 3f9754c..b4f251f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +x # stage1 as builder FROM node:16-alpine as builder # Copy the package.json and install dependencies @@ -15,5 +16,4 @@ COPY nginx.conf /etc/nginx/nginx.conf RUN rm -rf /usr/share/nginx/html/* # Copy from the stage 1 COPY --from=builder /dist /usr/share/nginx/html/nested-app -EXPOSE 8080 -ENTRYPOINT ["nginx", "-g", "daemon off;"] \ No newline at end of file +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file