From a291b29c6f1ea54a2998d41e25346ecaa9bf34d1 Mon Sep 17 00:00:00 2001 From: Slinky-Wrangle-Punch <45128213+Slinky-Wrangle-Punch@users.noreply.github.com> Date: Sun, 13 Dec 2020 19:49:54 +0100 Subject: [PATCH] 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. --- docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 7d4932fc5..d93f28689 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -31,5 +31,6 @@ COPY ./config/sql/ ./config/sql/ COPY ./locales/ ./locales/ COPY --from=builder /invidious/invidious . +EXPOSE 3000 USER invidious CMD [ "/invidious/invidious" ]