From 7dcd5035c0592614365f8814629f90791cf359d8 Mon Sep 17 00:00:00 2001 From: TheFrenchGhosty Date: Fri, 25 Feb 2022 19:01:14 +0100 Subject: [PATCH] Fix the Dockerfile sed command (Closes #2938) --- docker/Dockerfile | 2 +- docker/Dockerfile.arm64 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index f336abcd..df35a179 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -42,7 +42,7 @@ RUN addgroup -g 1000 -S invidious && \ adduser -u 1000 -S invidious -G invidious COPY --chown=invidious ./config/config.* ./config/ RUN mv -n config/config.example.yml config/config.yml -RUN sed -i 's/host: \(127.0.0.1\|localhost\)/host: postgres/' config/config.yml +RUN sed -i 's/host: \(127.0.0.1\|localhost\)/host: invidious-db/' config/config.yml COPY ./config/sql/ ./config/sql/ COPY ./locales/ ./locales/ COPY --from=builder /invidious/assets ./assets/ diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 686a9278..5f4d3793 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -41,7 +41,7 @@ RUN addgroup -g 1000 -S invidious && \ adduser -u 1000 -S invidious -G invidious COPY --chown=invidious ./config/config.* ./config/ RUN mv -n config/config.example.yml config/config.yml -RUN sed -i 's/host: \(127.0.0.1\|localhost\)/host: postgres/' config/config.yml +RUN sed -i 's/host: \(127.0.0.1\|localhost\)/host: invidious-db/' config/config.yml COPY ./config/sql/ ./config/sql/ COPY ./locales/ ./locales/ COPY --from=builder /invidious/assets ./assets/