From b1a3dacac44378fa176ce554e3e134e9b80cad19 Mon Sep 17 00:00:00 2001 From: Liam Jones Date: Sat, 11 Feb 2017 16:38:40 +0000 Subject: [PATCH] Fixed Ctrl+C not working to shutdown the container when ran via docker run --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ce2d154..57cee5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,6 +63,6 @@ RUN git checkout $PAINTSCHAINER_COMMIT && \ EXPOSE 8000 -ENTRYPOINT [ "/tini", "--" ] +ENTRYPOINT [ "/tini", "-g", "--" ] CMD [ "sh", "-c", "cron && python -u server.py --host 0.0.0.0 --gpu $PAINTSCHAINER_GPU"]