Fix host replace in Dockerfile

pull/892/head
Omar Roth 2019-10-28 10:45:22 -04:00
rodzic 25c8cd9246
commit 039cc30c07
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B8254FB7EC3D37F2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -23,7 +23,7 @@ COPY ./assets/ ./assets/
COPY ./config/config.yml ./config/config.yml COPY ./config/config.yml ./config/config.yml
COPY ./config/sql/ ./config/sql/ COPY ./config/sql/ ./config/sql/
COPY ./locales/ ./locales/ COPY ./locales/ ./locales/
RUN sed -i 's/host: localhost/host: postgres/' config/config.yml RUN sed -i 's/host: 127.0.0.1/host: postgres/' config/config.yml
COPY --from=builder /invidious/invidious . COPY --from=builder /invidious/invidious .
USER invidious USER invidious
CMD [ "/invidious/invidious" ] CMD [ "/invidious/invidious" ]