Update sed replace in Dockerfile

This commit is contained in:
Omar Roth 2019-10-28 12:49:03 -04:00
parent 13e7cca1a4
commit f776d67c03
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

View File

@ -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" ]