From 1b576d855d983c687156ed5fec99de179d9ea93b Mon Sep 17 00:00:00 2001 From: pierreozoux <pierre@ozoux.net> Date: Fri, 6 Oct 2017 14:48:50 +0200 Subject: [PATCH] Make puma stays in foreground --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 02b972a..9c36aab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,7 @@ RUN addgroup --gid 1000 discourse \ && mkdir -p ./tmp/sockets \ && git clone --branch v${DISCOURSE_VERSION} https://github.com/discourse/discourse.git \ && cd ./discourse \ + && sed -i 's/daemonize true/daemonize false/g' ./config/puma.rb \ && chown -R discourse:discourse . \ && git remote set-branches --add origin tests-passed \ && curl --silent --location https://deb.nodesource.com/setup_8.x | bash - \ -- GitLab