memgraph/docker/kpi_service.docker
Marko Budiselic 535a947026 KPI service docker file.
Summary: KPI service docker file.

Reviewers: matej.gradicek

Reviewed By: matej.gradicek

Subscribers: matej.gradicek

Differential Revision: https://phabricator.memgraph.io/D140
2017-03-17 12:00:30 +01:00

17 lines
391 B
Docker

FROM ubuntu:16.04
RUN apt-get update \
&& apt-get install -y python3 python3-pip \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY kpi_service /kpi_service
COPY requirements.txt /kpi_service/requirements.txt
WORKDIR /kpi_service
RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt
EXPOSE 5000
CMD python3 kpi_service.py --results /results