From b5c0d64ca2f3f766cfbc709fe7486c4053dfcb65 Mon Sep 17 00:00:00 2001 From: Ric Harvey Date: Thu, 9 Jul 2015 22:18:29 +0100 Subject: [PATCH] tweaks to docker file to add volume support --- Dockerfile | 3 +++ nginx-site.conf | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index df6ae06..dbbe330 100644 --- a/Dockerfile +++ b/Dockerfile @@ -78,6 +78,9 @@ ADD ./supervisord.conf /etc/supervisord.conf ADD ./start.sh /start.sh RUN chmod 755 /start.sh +# Setup Volume +VOLUME ["/usr/share/nginx/html"] + # Expose Ports EXPOSE 443 EXPOSE 80 diff --git a/nginx-site.conf b/nginx-site.conf index 884b8bc..e64a96b 100644 --- a/nginx-site.conf +++ b/nginx-site.conf @@ -39,7 +39,6 @@ server { } location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ { - access_log off; log_not_found off; expires 5d; }