#90 create kube_ops_view package

This commit is contained in:
Henning Jacobs
2017-01-14 13:25:03 +01:00
parent b6d75bf240
commit 850683c368
11 changed files with 21 additions and 17 deletions

View File

@@ -12,13 +12,11 @@ EXPOSE 8080
COPY requirements.txt /
RUN pip3 install -r /requirements.txt
COPY app.py /
COPY templates /templates
COPY kube_ops_view /
COPY app /app
COPY static /static
WORKDIR /app
RUN npm install && npm run build
WORKDIR /
CMD /app.py
ENTRYPOINT ["/usr/bin/python3", "-m", "kube_ops_view"]