Drain the top level internal.

This commit is contained in:
jregan
2019-10-20 15:23:25 -07:00
parent 951d15bf17
commit dee1c425da
131 changed files with 34 additions and 333 deletions

16
hacks/crawl/ui/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:latest as builder
WORKDIR /app
COPY package.json package-lock.json /app/
RUN cd /app && npm set progress=false && npm install
COPY . /app
RUN cd /app && npm run build
FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html/*
# todo(damienr74), put this in configmap.
COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=builder /app/dist/kustomize-search/ /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]