diff --git a/hwclock/Dockerfile b/hwclock/Dockerfile index a78c02d..cb7196a 100644 --- a/hwclock/Dockerfile +++ b/hwclock/Dockerfile @@ -6,6 +6,7 @@ RUN apk add --no-cache dumb-init uwsgi uwsgi-http uwsgi-python3 COPY clock.py /src/clock.py EXPOSE 80 +STOPSIGNAL SIGQUIT -ENTRYPOINT ["/usr/bin/dumb-init"] +ENTRYPOINT ["/usr/bin/dumb-init", "--"] CMD ["uwsgi", "--plugins=http,python", "--master", "--http=:80", "--process=1", "--wsgi-file=/src/clock.py"]