We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdb2244 commit 49cb637Copy full SHA for 49cb637
Dockerfile
@@ -34,15 +34,15 @@ RUN set -eux; cd /app/public/scss; mkdir out; for f in *.scss; \
34
mv out/* .; \
35
chmod a+r /app/public/scss/*.css
36
37
-STOPSIGNAL SIGINT
38
-# Django listens to SIGINT but not SIGTERM
+STOPSIGNAL SIGTERM
+# Gunicorn listens to SIGTERM
39
RUN apt-get purge -y sassc && \
40
rm -rf /var/lib/apt/lists/* && \
41
rm -rf /var/cache/*
42
EXPOSE 28730
43
CMD /app/.venv/bin/gunicorn \
44
--bind :28730 \
45
--error-logfile - \
46
- --timeout 120 \
+ --timeout 20 \
47
--config /app/container/gunicorn.py \
48
mCTF.wsgi:application
0 commit comments