aboutsummaryrefslogtreecommitdiffstats
path: root/devops/nginx/Dockerfile
diff options
context:
space:
mode:
authorAdrian Batos-Parac <adrian.batos-parac@amdocs.com>2018-02-22 15:50:01 -0500
committerAdrian Batos-Parac <adrian.batos-parac@amdocs.com>2018-02-22 15:50:01 -0500
commitd6a36b1577b3220f7822ae655d57fa6a1dded5a6 (patch)
tree0adf5d8b2f65b0fc6129a42c3fd0309bff9d8700 /devops/nginx/Dockerfile
parent030236e7268ca08aeae13acec04e3efc2687b2e6 (diff)
Initial Commit of Gallifrey
Commit the initial set of code for the Gallifrey offering to ONAP Change-Id: Id1d3bd2bda5ab530682b6646f2cb0414baf671a5 Issue-ID: AAI-797 Signed-off-by: abatos <adrian.batos-parac@amdocs.com>
Diffstat (limited to 'devops/nginx/Dockerfile')
-rw-r--r--devops/nginx/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/devops/nginx/Dockerfile b/devops/nginx/Dockerfile
new file mode 100644
index 0000000..4f2ba9f
--- /dev/null
+++ b/devops/nginx/Dockerfile
@@ -0,0 +1,9 @@
+FROM nginx:alpine
+
+COPY ssl-cert-snakeoil.pem /etc/ssl/certs/
+COPY ssl-cert-snakeoil.key /etc/ssl/private/
+RUN chown -R nginx:nginx /etc/ssl
+RUN chmod 640 /etc/ssl/private/ssl-cert-snakeoil.key
+RUN chmod 750 /etc/ssl/private
+
+COPY default.conf /etc/nginx/conf.d/