From f776d67c03c535633c723e98f15a3f8729ade78c Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 28 Oct 2019 12:49:03 -0400 Subject: [PATCH] Update sed replace in Dockerfile --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index e83bbfa5..024b8416 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -23,7 +23,7 @@ COPY ./assets/ ./assets/ COPY ./config/config.yml ./config/config.yml COPY ./config/sql/ ./config/sql/ COPY ./locales/ ./locales/ -RUN sed -i 's/host: 127.0.0.1/host: postgres/' config/config.yml +RUN sed -i 's/host: \(127.0.0.1\|localhost\)/host: postgres/' config/config.yml COPY --from=builder /invidious/invidious . USER invidious CMD [ "/invidious/invidious" ]