Skip to content

Commit bdb2244

Browse files
fix: slow shutdowns
1 parent 496b80b commit bdb2244

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ RUN set -eux; cd /app/public/scss; mkdir out; for f in *.scss; \
3434
mv out/* .; \
3535
chmod a+r /app/public/scss/*.css
3636

37+
STOPSIGNAL SIGINT
38+
# Django listens to SIGINT but not SIGTERM
3739
RUN apt-get purge -y sassc && \
3840
rm -rf /var/lib/apt/lists/* && \
3941
rm -rf /var/cache/*

0 commit comments

Comments
 (0)