[survey-web/oscp] Add simplified entrypoint
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [survey-web/oscp] Add simplified entrypoint
- Date: Tue, 29 Dec 2020 10:33:57 +0000 (UTC)
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]