diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e9318a6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM node:14.5.0-alpine as build +WORKDIR /app +COPY . . +RUN npm install +RUN npm run build + +FROM nginx:alpine as app +COPY --from=build /app/build/ /usr/share/nginx/html/