From f499157f393a851909e733c9f259a71b619c0d84 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 1 Jan 2017 14:16:48 +0100 Subject: put php function as lib --- Services/php/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Services/php/Dockerfile') diff --git a/Services/php/Dockerfile b/Services/php/Dockerfile index f3e6c0e..4eeae7a 100644 --- a/Services/php/Dockerfile +++ b/Services/php/Dockerfile @@ -10,11 +10,11 @@ RUN dnf -y install php php-cli php-pear \ && dnf clean all COPY httpd.conf $HTTPDCONF COPY php.ini /etc/php.d/sx.ini -COPY run.sh /bin/ -RUN chmod 775 /bin/run.sh && \ +COPY *.sh /bin/ +RUN chmod 775 /bin/run.sh /bin/sx-php.sh && \ chmod ug+r $HTTPDCONF COPY ./ $APP_PATH -RUN rm -f $APP_PATH/Dockerfile $APP_PATH/httpd.conf $APP_PATH/run.sh && \ +RUN rm -f $APP_PATH/Dockerfile $APP_PATH/httpd.conf $APP_PATH/run.sh $APP_PATH/sx-php.sh && \ chown -R apache:apache $DATA_PATH $APP_PATH $LOG_PATH && \ chmod ug+r -R $DATA_PATH $APP_PATH -- cgit v1.2.3