diff --git a/Sources/php_script/Dockerfile b/Sources/php_script/Dockerfile index 4c7b284..6542412 100644 --- a/Sources/php_script/Dockerfile +++ b/Sources/php_script/Dockerfile @@ -1,2 +1,3 @@ -FROM php:7.4-cli -COPY ./script /usr/local/apache2/htdocs/ \ No newline at end of file +FROM devilbox/php-fpm-8.1:latest +COPY ./script /usr/local/apache2/htdocs/ +CMD ./script/index.php \ No newline at end of file diff --git a/Sources/php_script/script/index.html b/Sources/php_script/script/index.html deleted file mode 100644 index 7e44755..0000000 --- a/Sources/php_script/script/index.html +++ /dev/null @@ -1 +0,0 @@ -

Hello DaflDev

\ No newline at end of file diff --git a/Sources/php_script/script/index.php b/Sources/php_script/script/index.php new file mode 100644 index 0000000..e9dd2d6 --- /dev/null +++ b/Sources/php_script/script/index.php @@ -0,0 +1,5 @@ +Hello DaflDev + +?> \ No newline at end of file