diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..fc102ced --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM node:latest +WORKDIR /app +COPY package*.json ./ +# RUN npm install +COPY . . +# RUN npm run build +FROM nginx:alpine +COPY --from=0 /app/build /usr/share/nginx/html +EXPOSE 80 +CMD ["nginx", "-g", "daemon off;"]