summaryrefslogtreecommitdiffstats
path: root/docker/storperf-httpfrontend/Dockerfile
diff options
context:
space:
mode:
authormbeierl <mark.beierl@dell.com>2017-07-12 21:41:01 -0400
committermbeierl <mark.beierl@dell.com>2017-07-12 21:50:39 -0400
commit9efa75fa08dad32b95ada37bb8e22371c51626c3 (patch)
treef99a71595108d64aa643f5137c73842a8f362be1 /docker/storperf-httpfrontend/Dockerfile
parent7602a54309adbe5c5346ee6befecc2e596976504 (diff)
Creation of Local Docker for Daily Job
Moves the dockerfiles for the different submodules/containers into their respective directories. Adds a docker compose file that can build the containers from the local filesystem, and mounts the local filesystem as a volume, making it easier for developer testing as local changes are automatically reflected in the final container. Change-Id: I2376034258cab2a3dc3a0d1ac3f01bbf5d1f59e7 JIRA: STORPERF-189 Signed-off-by: mbeierl <mark.beierl@dell.com>
Diffstat (limited to 'docker/storperf-httpfrontend/Dockerfile')
-rw-r--r--docker/storperf-httpfrontend/Dockerfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/docker/storperf-httpfrontend/Dockerfile b/docker/storperf-httpfrontend/Dockerfile
new file mode 100644
index 0000000..4069d24
--- /dev/null
+++ b/docker/storperf-httpfrontend/Dockerfile
@@ -0,0 +1,23 @@
+##############################################################################
+# 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 HTTP Front ENd
+#
+# Build:
+# $ docker build -t opnfv/storperf-frontend:tag .
+##
+
+
+FROM nginx:stable-alpine
+MAINTAINER Mark Beierl <mark.beierl@dell.com>
+LABEL version="3.1" description="OPNFV Storperf HTTP Front End Container"
+
+COPY ./nginx.conf /etc/nginx/nginx.conf
+COPY ./html /etc/nginx/html
+
+EXPOSE 5000