From 9efa75fa08dad32b95ada37bb8e22371c51626c3 Mon Sep 17 00:00:00 2001 From: mbeierl Date: Wed, 12 Jul 2017 21:41:01 -0400 Subject: 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 --- docker/storperf-httpfrontend/Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docker/storperf-httpfrontend/Dockerfile (limited to 'docker/storperf-httpfrontend') 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 +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 -- cgit 1.2.3-korg