moved dockerfile to main repo (#4393)

This commit is contained in:
Toby Batch
2023-11-17 12:07:51 +00:00
committed by GitHub
parent 6a828cc9bd
commit 350875be2a
9 changed files with 705 additions and 0 deletions

22
.docker/test-lite.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/sh -e
# Test PHP/Kimai
/opt/kimai/bin/console kimai:version
if [ $? != 0 ]; then
echo "PHP/Kimai not responding"
exit 1
fi
# Test FPM CGI
if [ -f /use_fpm ]; then
echo Testing FPM
php-fpm -t
fi
# Test Apache/httpd
if [ -f /use_apache ]; then
echo Testing Apache
apache2ctl -t
fi
exit 0