From 04661da9d1f4930fb8c88b70e715f4bb0fbfd269 Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Tue, 22 Nov 2022 14:09:05 +0100 Subject: [PATCH] Dockerfile update --- Sources/php_script/Dockerfile | 6 +++--- Sources/php_script/script/index.html | 1 - Sources/php_script/script/index.php | 5 +++++ 3 files changed, 8 insertions(+), 4 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 61b63d1..420557a 100644 --- a/Sources/php_script/Dockerfile +++ b/Sources/php_script/Dockerfile @@ -1,4 +1,4 @@ FROM php:8.1-cli -COPY . ./script -WORKDIR ./script -CMD [ "php", "./script/distance.php" ] \ No newline at end of file +COPY . ./script/ +WORKDIR ./script/ +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..c06e1d3 --- /dev/null +++ b/Sources/php_script/script/index.php @@ -0,0 +1,5 @@ +Hello Dafldev + +?>