[survey-web/oscp] Add simplified entrypoint



commit 59da2fddbd4947d2db3e35478c44070d31a42e1c
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Dec 29 11:33:43 2020 +0100

    Add simplified entrypoint

 Dockerfile    | 2 ++
 entrypoint.sh | 4 ++++
 2 files changed, 6 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index e7cb90aa..76c0fa22 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,3 +2,5 @@ FROM martialblog/limesurvey:4-fpm
 
 ADD ipa-ca.crt /etc/ipa-ca.crt
 ADD ldap.conf /etc/ldap/ldap.conf
+ADD entrypoint.sh /entrypoint.sh
+ENTRYPOINT ["/entrypoint.sh"]
diff --git a/entrypoint.sh b/entrypoint.sh
new file mode 100755
index 00000000..dadf9e4a
--- /dev/null
+++ b/entrypoint.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+php application/commands/console.php updatedb
+exec php-fpm


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]