Dockerfile.debian building and running

This commit is contained in:
Adam Outler
2025-10-08 19:55:16 -04:00
parent 558ab44d3f
commit 016a6adf42
16 changed files with 111553 additions and 2062 deletions

View File

@@ -10,8 +10,8 @@ require dirname(__FILE__).'/../server/init.php';
// check if authenticated
require_once $_SERVER['DOCUMENT_ROOT'] . '/php/templates/security.php';
exec('../../../back/speedtest-cli --secure --simple', $output);
//exec('speedtest-cli --secure --simple', $output);
exec('PATH=/usr/bin/:/usr/local/bin:/opt/venv/bin speedtest-cli --secure --simple', $output);
echo '<h4>'. lang('Speedtest_Results') .'</h4>';
echo '<pre style="border: none;">';
foreach($output as $line){

View File

@@ -61,7 +61,7 @@ def update_vendor_database():
# Update vendors DB (iab oui)
mylog('verbose', [' Updating vendors DB (iab & oui)'])
update_args = ['sh', applicationPath + '/back/update_vendors.sh']
update_args = ['sh', applicationPath + '/services/update_vendors.sh']
# Execute command
try: