Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-04-11 01:12:35 +0300
committernachoparker <nacho@ownyourbits.com>2018-04-11 02:24:53 +0300
commitf34a3ce9d4b5d6ac15975001f9ad532c6aec93ef (patch)
treedbdece830662fec1b9f121aadd6f62ea4bfe070f /docker
parent165be0c6f6fb780988bccd1280c2895d4c15a5bd (diff)
docker: display message while the container inits for the first time
Diffstat (limited to 'docker')
-rw-r--r--docker/nextcloud/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/nextcloud/Dockerfile b/docker/nextcloud/Dockerfile
index a640e8a6..483aa6f1 100644
--- a/docker/nextcloud/Dockerfile
+++ b/docker/nextcloud/Dockerfile
@@ -39,3 +39,9 @@ chmod 600 /root/.my.cnf
COPY docker-common/nextcloud/020nextcloud /etc/services-enabled.d/
COPY bin/ncp-provisioning.sh /usr/local/bin/
+
+# display message until first run initialization is complete
+COPY docker-common/nextcloud/ncp-wait-msg.html /data-ro/app
+RUN \
+mv /data-ro/app/index.php /; \
+mv /data-ro/app/ncp-wait-msg.html /data-ro/app/index.php;