From aa84668ff22f0456903bb621181cafc289a20dc9 Mon Sep 17 00:00:00 2001 From: Slinky-Wrangle-Punch <45128213+Slinky-Wrangle-Punch@users.noreply.github.com> Date: Fri, 11 Dec 2020 17:56:15 +0100 Subject: [PATCH] add EXPOSE port command in Dockerfile 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 7d4932fc..d93f2868 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" ]