summaryrefslogtreecommitdiffstats
path: root/Services/php/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Services/php/Dockerfile')
-rw-r--r--Services/php/Dockerfile10
1 files changed, 1 insertions, 9 deletions
diff --git a/Services/php/Dockerfile b/Services/php/Dockerfile
index 7cb96b5..58653a8 100644
--- a/Services/php/Dockerfile
+++ b/Services/php/Dockerfile
@@ -8,19 +8,11 @@ RUN dnf -y install php php-pecl-mongo php-cli php-pear \
php-bcmath php-pecl-zip php-php-gettext php-tcpdf \
php-tcpdf-dejavu-sans-fonts php-tidy \
&& dnf clean all
-ENV LOG_PATH=/data/logs/apache_php \
- APP_PATH=/data/apache_php \
- STARTUPLOG=/data/logs/apache_php/startup.log \
- TMP_APP_PATH=/tmp/apache
COPY httpd.conf $HTTPDCONF
COPY php.ini /etc/php.d/sx.ini
COPY run.sh /bin/
RUN chmod 775 /bin/run.sh && \
- chmod ug+r $HTTPDCONF && \
- mkdir -p $TMP_APP_PATH && \
- mkdir -p $APP_PATH && \
- mkdir -p $LOG_PATH && \
- touch $STARTUPLOG
+ 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 && \