summaryrefslogtreecommitdiffstats
path: root/docker/storperf-reporting/Dockerfile
blob: 6f20e7b580876a6243be8268cdfa7f7735dd0c76 (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
34
35
##############################################################################
# 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 .
##


ARG ARCH
ARG ALPINE_VERSION=v3.6
FROM multiarch/alpine:$ARCH-$ALPINE_VERSION
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 . /home/opnfv/storperf-reporting
WORKDIR /home/opnfv/storperf-reporting/src

RUN pip install -r /home/opnfv/storperf-reporting/requirements.txt

CMD ["python", "app.py"]

EXPOSE 5000