Skip to content

Commit

Permalink
Add tini to entrypoint (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk authored Dec 13, 2022
1 parent d0a65e9 commit d81bf5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM python:3.8-alpine
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8

RUN apk add --update curl && \
RUN apk add --update curl tini && \
rm -rf /var/cache/apk/*

COPY ./requirements.txt /app/requirements.txt
Expand All @@ -18,4 +18,4 @@ VOLUME /config

HEALTHCHECK CMD curl --silent --fail http://localhost:9880/ || exit 1

ENTRYPOINT ["python3", "main.py", "-c", "/config/config.yaml"]
ENTRYPOINT ["/sbin/tini", "-s", "python3", "main.py", "-c", "/config/config.yaml"]

0 comments on commit d81bf5c

Please sign in to comment.