diff --git a/docs/best-practices/deployment.md b/docs/best-practices/deployment.md index 5dc2680..a4bd2d4 100644 --- a/docs/best-practices/deployment.md +++ b/docs/best-practices/deployment.md @@ -558,10 +558,10 @@ be achieved by using a `Dockerfile` with the following contents: COPY public/ public/ COPY vendor/ vendor/ - ENV X_LISTEN 0.0.0.0:8080 + ENV X_LISTEN=0.0.0.0:8080 EXPOSE 8080 - ENTRYPOINT php public/index.php + ENTRYPOINT ["php", "public/index.php"] ``` === "Dockerfile for minimal production image" @@ -589,7 +589,7 @@ be achieved by using a `Dockerfile` with the following contents: # COPY src/ src/ COPY --from=build /app/vendor/ vendor/ - ENV X_LISTEN 0.0.0.0:8080 + ENV X_LISTEN=0.0.0.0:8080 EXPOSE 8080 USER nobody:nobody diff --git a/tests/integration/Dockerfile-basics b/tests/integration/Dockerfile-basics index b54d9cf..aa23e72 100644 --- a/tests/integration/Dockerfile-basics +++ b/tests/integration/Dockerfile-basics @@ -5,7 +5,7 @@ WORKDIR /app/ COPY public/ public/ COPY vendor/ vendor/ -ENV X_LISTEN 0.0.0.0:8080 +ENV X_LISTEN=0.0.0.0:8080 EXPOSE 8080 -ENTRYPOINT php public/index.php +ENTRYPOINT ["php", "public/index.php"] diff --git a/tests/integration/Dockerfile-production b/tests/integration/Dockerfile-production index 71211d0..502a00b 100644 --- a/tests/integration/Dockerfile-production +++ b/tests/integration/Dockerfile-production @@ -23,7 +23,7 @@ COPY public/ public/ # COPY src/ src/ COPY --from=build /app/vendor/ vendor/ -ENV X_LISTEN 0.0.0.0:8080 +ENV X_LISTEN=0.0.0.0:8080 EXPOSE 8080 USER nobody:nobody