summaryrefslogtreecommitdiffstats
path: root/Services/apache/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Services/apache/Dockerfile')
-rw-r--r--Services/apache/Dockerfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Services/apache/Dockerfile b/Services/apache/Dockerfile
index 4e67fd4..a15b41a 100644
--- a/Services/apache/Dockerfile
+++ b/Services/apache/Dockerfile
@@ -14,10 +14,8 @@ RUN chmod 775 /bin/run.sh /bin/sx-httpd.sh && \
chmod ug+r $HTTPDCONF && \
rm -f /etc/httpd/conf.d/autoindex.conf && \
rm -f /etc/httpd/conf.d/welcome.conf && \
- mkdir /data && \
- mkdir /data/logs && \
- mkdir $APP_PATH && \
- mkdir $LOG_PATH && \
+ mkdir -p $APP_PATH && \
+ mkdir -p $LOG_PATH && \
touch $STARTUPLOG
COPY ./ $APP_PATH
RUN rm -f $APP_PATH/Dockerfile $APP_PATH/httpd.conf $APP_PATH/run.sh $APP_PATH/sx-httpd.sh && \