diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bbb2765 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM node:14-alpine AS build +LABEL maintainer="Stille " + +WORKDIR /app +COPY . /app +RUN npm install +RUN npm run build + +FROM nginx:1.16-alpine +COPY --from=build /app/dist /usr/share/nginx/html +EXPOSE 80 +CMD [ "nginx", "-g", "daemon off;" ]