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.
This commit is contained in:
parent
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" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user