Improve containers stopping performance by handling SIGTERM

This commit is contained in:
Omar Brikaa 2023-10-03 13:59:23 +03:00
parent b9adb6f854
commit fef00b96f1
4 changed files with 32 additions and 6 deletions

View file

@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y unzip autoconf build-essential libssl-d
rm -rf /var/lib/apt/lists/* && \
update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2
ADD entrypoint.sh mkindex.sh /
ADD entrypoint.sh mkindex.sh serve.py /
ENTRYPOINT ["bash","/entrypoint.sh"]
CMD ["--no-build"]