add entrypoint.sh

This commit is contained in:
Your Name
2023-11-18 20:44:27 +02:00
parent 31b225f386
commit 216acea891
2 changed files with 6 additions and 1 deletions

View File

@@ -17,4 +17,6 @@ RUN composer install
USER php
CMD ["php", "/var/src/app.php"]
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

3
entrypoint.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
php /var/src/app.php