diff --git a/docs/best-practices/deployment.md b/docs/best-practices/deployment.md index 7e59e32..d5b9c14 100644 --- a/docs/best-practices/deployment.md +++ b/docs/best-practices/deployment.md @@ -524,7 +524,7 @@ be achieved by using a `Dockerfile` with the following contents: EXPOSE 8080 USER nobody:nobody - ENTRYPOINT php public/index.php + ENTRYPOINT ["php", "public/index.php"] ``` Simply place the `Dockerfile` in your project directory like this: diff --git a/tests/Dockerfile-production b/tests/Dockerfile-production index f6c4452..ea4288e 100644 --- a/tests/Dockerfile-production +++ b/tests/Dockerfile-production @@ -26,4 +26,4 @@ ENV X_LISTEN 0.0.0.0:8080 EXPOSE 8080 USER nobody:nobody -ENTRYPOINT php public/index.php +ENTRYPOINT ["php", "public/index.php"]