From 5756f598d8d0629499fe2d26e9b0b00759d8dc99 Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Thu, 16 Aug 2018 12:05:01 +0300 Subject: [PATCH] According to openshift dev team >we need to have a process that runs in a foreground, otherwise OpenShift will automatically shutdown container without running foreground process. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bb31dad..e6883a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,4 +72,4 @@ RUN echo "$REPO_URL" | tee /etc/apt/sources.list.d/onlyoffice.list && \ VOLUME /var/log/onlyoffice /var/lib/onlyoffice /var/www/onlyoffice/Data /var/lib/postgresql /usr/share/fonts/truetype/custom -CMD bash -C '/app/onlyoffice/run-document-server.sh';'bash' +CMD bash -C '/app/onlyoffice/run-document-server.sh';'ping 127.0.0.1'