tweaks to docker file to add volume support
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user