Skip to content

Commit

Permalink
properly exit from hwclock
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Jan 4, 2024
1 parent 3763961 commit 4ba1ddc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hwclock/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 4ba1ddc

Please sign in to comment.