From bdb2244ee033ca0aefc3dc35ea5b3106fe316341 Mon Sep 17 00:00:00 2001 From: Jason Date: Sat, 6 Apr 2024 18:56:51 -0400 Subject: [PATCH] fix: slow shutdowns --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1b9e69d..30ca6d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,6 +34,8 @@ RUN set -eux; cd /app/public/scss; mkdir out; for f in *.scss; \ mv out/* .; \ chmod a+r /app/public/scss/*.css +STOPSIGNAL SIGINT +# Django listens to SIGINT but not SIGTERM RUN apt-get purge -y sassc && \ rm -rf /var/lib/apt/lists/* && \ rm -rf /var/cache/*