From a0fe229c7ac7496cf460413650eae51b9561fcab Mon Sep 17 00:00:00 2001 From: Maykin-99 <73132218+Maykin-99@users.noreply.github.com> Date: Sun, 9 May 2021 10:29:06 +0000 Subject: [PATCH] make assets, config and locales readable only --- docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index f7d990d7..87884403 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -25,6 +25,7 @@ RUN sed -i 's/host: \(127.0.0.1\|localhost\)/host: postgres/' config/config.yml COPY ./config/sql/ ./config/sql/ COPY ./locales/ ./locales/ COPY --from=builder /invidious/invidious . +RUN chmod o+rX -R ./assets ./config ./locales EXPOSE 3000 USER invidious