From 9360f10c054fedee2f59bda75140eaca747b28b3 Mon Sep 17 00:00:00 2001 From: Jean-Michel Lord Date: Tue, 2 Apr 2024 15:58:46 -0400 Subject: [PATCH] Using docker --init for small process with signal forwarding. --- compose.env.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/compose.env.yml b/compose.env.yml index a7c620a80..50b965fe8 100644 --- a/compose.env.yml +++ b/compose.env.yml @@ -1,5 +1,3 @@ -version: "3.7" - # This file specifies the environment that will be used to run each script language. # It can use the default GEO BON images, or compile it's own images. @@ -9,7 +7,7 @@ services: # build: # context: ./runners # dockerfile: r-dockerfile - command: sh # Override default command to avoid launching R-studio server. + init: true tty: true # Needed to keep the container alive, waiting for requests. runner-julia: @@ -17,5 +15,5 @@ services: # build: # context: ./runners # dockerfile: julia-dockerfile - command: sh # Avoids launching julia session that will not be used. + init: true # Avoids launching julia session that will not be used. tty: true # Needed to keep the container alive, waiting for requests.