diff --git a/api-rest/Dockerfile b/api-rest/Dockerfile index cf0d8fc..22e5d0e 100644 --- a/api-rest/Dockerfile +++ b/api-rest/Dockerfile @@ -1,3 +1,4 @@ -From php -COPY ./index.php ./ -CMD ["php", "-S", ] \ No newline at end of file +FROM php:7.4-cli +COPY . /api-rest +WORKDIR /api-rest +CMD [ "php", "./index.php" ] \ No newline at end of file