There was an error while loading. Please reload this page.
1 parent 6fe90d0 commit 6bfe874Copy full SHA for 6bfe874
Dockerfile
@@ -12,7 +12,8 @@ RUN \
12
add-apt-repository -y ppa:nginx/stable && \
13
apt-get update && \
14
apt-get install -y nginx && \
15
- echo "\ndaemon off;" >> /etc/nginx/nginx.conf
+ echo "\ndaemon off;" >> /etc/nginx/nginx.conf && \
16
+ chown -R www-data:www-data /var/lib/nginx
17
18
# Define mountable directories.
19
VOLUME ["/data", "/etc/nginx/sites-enabled", "/var/log/nginx"]
0 commit comments