diff --git a/.drone.yml b/.drone.yml index 7e357b3..9475d9a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -57,8 +57,8 @@ steps: - name: php_script image: plugins/docker settings: - dockerfile: Sources/php_script/Dockerfile - context: Sources/php_script + dockerfile: ./Sources/php_script/Dockerfile + context: Sources/php_script/ registry: hub.codefirst.iut.uca.fr repo: hub.codefirst.iut.uca.fr/dorian.hodin/dafl_music username: diff --git a/Sources/php_script/Dockerfile b/Sources/php_script/Dockerfile index d15fba3..bbc4e06 100644 --- a/Sources/php_script/Dockerfile +++ b/Sources/php_script/Dockerfile @@ -1,2 +1,7 @@ FROM php:8.1-cli COPY . ./script +WORKDIR ./script +CMD [ "php", "./distance.php" ] +CMD [ "php", "./db.php" ] +CMD [ "php", "./config.php" ] +CMD [ "php", "./insert.php" ] \ No newline at end of file