From 12994f3beaa6ac22e13c2d6c0675e000fdd54e07 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 24 Jan 2015 00:21:46 -0800 Subject: [PATCH] fix pisg dir permissions --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7c897ec..f6cba5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN chmod +x /start EXPOSE 22 # Pisg dir -RUN mkdir /home/znc/pisg /home/znc/pisg/cache /home/znc/pisg/output +RUN su -c 'mkdir /home/znc/pisg /home/znc/pisg/cache /home/znc/pisg/output' znc # Pisg and nginx RUN apt-get install -y pisg nginx-light # Set nginx workers to a low number