diff --git a/.dockerignore b/.dockerignore index 402378e..a0dfe9b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,4 @@ * !compiler.php !src -!docker/docker-startup.sh +!docker diff --git a/Dockerfile b/Dockerfile index 17b434f..c2878c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,7 @@ RUN rm -rf /var/www/html && \ COPY / /usr/src/ifm/ RUN /usr/src/ifm/compiler.php --languages=all && \ cp /usr/src/ifm/dist/ifm.php /usr/local/share/webapps/ifm/index.php && \ + cp /usr/src/ifm/docker/php.ini /usr/local/share/webapps/ifm/ && \ rm -rf /usr/src/ifm COPY docker/docker-startup.sh /usr/local/bin diff --git a/docker/docker-startup.sh b/docker/docker-startup.sh index 0c56b8c..79b3c56 100755 --- a/docker/docker-startup.sh +++ b/docker/docker-startup.sh @@ -32,4 +32,4 @@ else adduser -SHD -u 33 -G www-data www-data fi -sudo -Eu www-data /usr/local/bin/php -S 0:80 -t /usr/local/share/webapps/ifm +sudo -Eu www-data /usr/local/bin/php -c /usr/local/share/webapps/ifm/php.ini -S 0:80 -t /usr/local/share/webapps/ifm