summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile-reporting
blob: ad00019386c0abbc5820cfffd5368cdb465c0e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
##############################################################################
# Copyright (c) 2017 Dell EMC and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
#   Docker container for StorPerf Graphing and Reporting module
#
# Purpose: self-contained image that can create reports and graphs of data
#
# Build:
#    $ docker build -t opnfv/storperf-reporting:tag .
##


FROM alpine:3.1
MAINTAINER Mark Beierl <mark.beierl@dell.com>
LABEL version="0.1" description="OPNFV Storperf Reporting Container"

ARG BRANCH=master

RUN apk add --update python py-pip

COPY storperf-reporting /home/opnfv/storperf-reporting
WORKDIR /home/opnfv/storperf-reporting

RUN pip install -r /home/opnfv/storperf-reporting/requirements.txt
ENTRYPOINT ["python"]
CMD ["/home/opnfv/storperf-reporting/src/app.py"]

EXPOSE 5000