added tini for proper signal forwarding

このコミットが含まれているのは:
dev 2022-12-01 11:34:54 +01:00 committed by registry
コミット 1f6c234259
1個のファイルの変更2行の追加1行の削除

ファイルの表示

@ -43,7 +43,7 @@ RUN if [[ "${release}" == 1 && "${disable_quic}" == 1 ]] ; then \
FROM alpine:3.16
RUN apk add --no-cache librsvg ttf-opensans
RUN apk add --no-cache librsvg ttf-opensans tini
WORKDIR /invidious
RUN addgroup -g 1000 -S invidious && \
adduser -u 1000 -S invidious -G invidious
@ -58,4 +58,5 @@ RUN chmod o+rX -R ./assets ./config ./locales
EXPOSE 3000
USER invidious
ENTRYPOINT ["/sbin/tini", "--"]
CMD [ "/invidious/invidious" ]