From 216acea89174313f5713b2087ce61c0e8471fdf3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 18 Nov 2023 20:44:27 +0200 Subject: [PATCH] add entrypoint.sh --- Dockerfile | 4 +++- entrypoint.sh | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 entrypoint.sh diff --git a/Dockerfile b/Dockerfile index 4bc77de..9f9db57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,4 +17,6 @@ RUN composer install USER php -CMD ["php", "/var/src/app.php"] \ No newline at end of file +COPY entrypoint.sh /entrypoint.sh + +ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100755 index 0000000..97a9ef7 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +php /var/src/app.php \ No newline at end of file