Docker: Add php.ini with some development settings

Signed-off-by: Marco Dickert <marco@misterunknown.de>
This commit is contained in:
Marco Dickert 2020-08-04 21:07:59 +02:00
parent b4e13ad9c5
commit 6bbd02339b
3 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
*
!compiler.php
!src
!docker/docker-startup.sh
!docker

View File

@ -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

View File

@ -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