mirror of
https://github.com/misterunknown/ifm.git
synced 2025-01-17 04:38:25 +01:00
Docker: Add php.ini with some development settings
Signed-off-by: Marco Dickert <marco@misterunknown.de>
This commit is contained in:
parent
b4e13ad9c5
commit
6bbd02339b
@ -1,4 +1,4 @@
|
|||||||
*
|
*
|
||||||
!compiler.php
|
!compiler.php
|
||||||
!src
|
!src
|
||||||
!docker/docker-startup.sh
|
!docker
|
||||||
|
@ -30,6 +30,7 @@ RUN rm -rf /var/www/html && \
|
|||||||
COPY / /usr/src/ifm/
|
COPY / /usr/src/ifm/
|
||||||
RUN /usr/src/ifm/compiler.php --languages=all && \
|
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/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
|
rm -rf /usr/src/ifm
|
||||||
|
|
||||||
COPY docker/docker-startup.sh /usr/local/bin
|
COPY docker/docker-startup.sh /usr/local/bin
|
||||||
|
@ -32,4 +32,4 @@ else
|
|||||||
adduser -SHD -u 33 -G www-data www-data
|
adduser -SHD -u 33 -G www-data www-data
|
||||||
fi
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user