kopia lustrzana https://github.com/iv-org/invidious
Fix host replace in Dockerfile
rodzic
25c8cd9246
commit
039cc30c07
|
@ -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: 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 .
|
||||
USER invidious
|
||||
CMD [ "/invidious/invidious" ]
|
||||
|
|
Ładowanie…
Reference in New Issue