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.
This commit is contained in:
Pavel Lobashov 2018-08-16 12:05:01 +03:00
parent f03a23cccd
commit 5756f598d8

View file

@ -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'