From 5cff390c081bdfb756a8977ad0bd56d778202d6b Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 6 Feb 2016 05:05:57 +0100 Subject: reorg avec gestion des sig --- Services/php/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Services/php/Dockerfile') diff --git a/Services/php/Dockerfile b/Services/php/Dockerfile index 58653a8..4abb0f8 100644 --- a/Services/php/Dockerfile +++ b/Services/php/Dockerfile @@ -13,11 +13,11 @@ COPY php.ini /etc/php.d/sx.ini COPY run.sh /bin/ RUN chmod 775 /bin/run.sh && \ chmod ug+r $HTTPDCONF -COPY ./ $TMP_APP_PATH -RUN rm -f $TMP_APP_PATH/Dockerfile $TMP_APP_PATH/httpd.conf $TMP_APP_PATH/run.sh && \ - chown -R apache:apache $TMP_APP_PATH $APP_PATH $LOG_PATH && \ - chmod ug+r -R $TMP_APP_PATH $APP_PATH +COPY ./ $APP_PATH +RUN rm -f $APP_PATH/Dockerfile $APP_PATH/httpd.conf $APP_PATH/run.sh && \ + chown -R apache:apache $DATA_PATH $APP_PATH $LOG_PATH && \ + chmod ug+r -R $DATA_PATH $APP_PATH EXPOSE 80 443 -VOLUME [$APP_PATH,$LOG_PATH] +VOLUME [$DATA_PATH,$LOG_PATH] CMD ["/bin/run.sh"] \ No newline at end of file -- cgit v1.2.3