Add tini entrypoint for clean shutdown

This commit is contained in:
Subhas Dandapani
2018-05-03 20:52:23 +02:00
parent b2797e2150
commit b3145a0f31

View File

@@ -2,8 +2,9 @@ FROM alpine:3.7
EXPOSE 8118 9050
RUN apk --update add privoxy tor runit
RUN apk --update add privoxy tor runit tini
COPY service /etc/service/
ENTRYPOINT ["tini", "--"]
CMD ["runsvdir", "/etc/service"]