tweaks to docker file to add volume support

This commit is contained in:
Ric Harvey
2015-07-09 22:18:29 +01:00
parent 14bee7b1bc
commit b5c0d64ca2
2 changed files with 3 additions and 1 deletions

View File

@@ -78,6 +78,9 @@ ADD ./supervisord.conf /etc/supervisord.conf
ADD ./start.sh /start.sh ADD ./start.sh /start.sh
RUN chmod 755 /start.sh RUN chmod 755 /start.sh
# Setup Volume
VOLUME ["/usr/share/nginx/html"]
# Expose Ports # Expose Ports
EXPOSE 443 EXPOSE 443
EXPOSE 80 EXPOSE 80

View File

@@ -39,7 +39,6 @@ server {
} }
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ { location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
access_log off;
log_not_found off; log_not_found off;
expires 5d; expires 5d;
} }