[nextcloud-web] nextcloud: Add custom entrypoint
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nextcloud-web] nextcloud: Add custom entrypoint
- Date: Tue, 29 Dec 2020 09:10:20 +0000 (UTC)
commit afeea28102a469ace30441c3abf59ab64651f029
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Tue Dec 29 10:10:06 2020 +0100
nextcloud: Add custom entrypoint
nextcloud/Dockerfile | 3 +++
nextcloud/entrypoint.sh | 8 ++++++++
2 files changed, 11 insertions(+)
---
diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile
new file mode 100644
index 0000000..e389424
--- /dev/null
+++ b/nextcloud/Dockerfile
@@ -0,0 +1,3 @@
+FROM nextcloud:20-fpm
+ADD entrypoint.sh /entrypoint
+ENTRYPOINT ["/entrypoint"]
diff --git a/nextcloud/entrypoint.sh b/nextcloud/entrypoint.sh
new file mode 100755
index 0000000..e460e2b
--- /dev/null
+++ b/nextcloud/entrypoint.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+/entrypoint.sh true
+
+php occ upgrade
+php occ db:add-missing-indices
+php occ db:add-missing-primary-keys
+
+exec php-fpm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]