mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix host replace in Dockerfile
This commit is contained in:
parent
25c8cd9246
commit
039cc30c07
1 changed files with 1 additions and 1 deletions
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in a new issue