speedtest icon indicating copy to clipboard operation
speedtest copied to clipboard

Custom frontend file in Docker

Open lehha opened this issue 4 years ago • 3 comments

Description

Cant add a custom file to Dockerfile (COPY index.php /var/www/html/), because Cleanup row #7 in entrypoint.sh clear directory /var/www/html/ after copying file into it.

Why it should be implemented

The way to customize Docker build.

Optional: implementation suggestions

Maybe add new instruction in entrypoint.sh like: if file index_custom.php exist, rename index_custom.php into index.php Or explain this problem for having way to customize any file.

lehha avatar Jul 14 '20 08:07 lehha

check out the linuxserver/librespeed docker image. they pull from this source, and add a symlink to a mounted folder where you can customize the index.html

yurividal avatar Jul 22 '20 08:07 yurividal

How can I find the file "index.php" at the linuxserver/librespeed docker?

E095TI avatar May 24 '22 13:05 E095TI

check out the linuxserver/librespeed docker image. they pull from this source, and add a symlink to a mounted folder where you can customize the index.html

linuxserver does not have backend and frontend MODE and other ENV.

Please allow to change frontend in adolfintel docker.

Nuke142 avatar Sep 02 '22 16:09 Nuke142