kopia lustrzana https://github.com/iv-org/invidious
add EXPOSE port command in Dockerfile (#1568)
added EXPOSE (see https://docs.docker.com/engine/reference/builder/#expose) in the Dockerfile. With this the reverse proxy Traefik can detect the port automatically.pull/1584/head
rodzic
b566c4ba1a
commit
a291b29c6f
|
@ -31,5 +31,6 @@ COPY ./config/sql/ ./config/sql/
|
||||||
COPY ./locales/ ./locales/
|
COPY ./locales/ ./locales/
|
||||||
COPY --from=builder /invidious/invidious .
|
COPY --from=builder /invidious/invidious .
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
USER invidious
|
USER invidious
|
||||||
CMD [ "/invidious/invidious" ]
|
CMD [ "/invidious/invidious" ]
|
||||||
|
|
Ładowanie…
Reference in New Issue