diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9f81e6f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM node:latest AS build +ADD . /app +WORKDIR /app +RUN npm install && npm run build + +FROM nginx:stable +COPY --from=build /app/dist /usr/share/nginx/html +ADD nginx-site.conf /etc/nginx/conf.d/default.conf \ No newline at end of file