From 701827ed99a19ed2b165ae83b62d036af26d01b7 Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Tue, 22 Nov 2022 14:53:39 +0100 Subject: [PATCH] Dockerfile update --- Sources/php_script/Dockerfile | 5 +++-- Sources/php_script/script/index.html | 1 - Sources/php_script/script/index.php | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) delete mode 100644 Sources/php_script/script/index.html create mode 100644 Sources/php_script/script/index.php 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