diff options
| author | Slinky-Wrangle-Punch <45128213+Slinky-Wrangle-Punch@users.noreply.github.com> | 2020-12-13 19:49:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-13 19:49:54 +0100 |
| commit | a291b29c6f1ea54a2998d41e25346ecaa9bf34d1 (patch) | |
| tree | d4b2b419f6df6b108937131b7f3d8dc0bc9d662c | |
| parent | b566c4ba1a4b44044154b54e33f1fa45fc5b1e90 (diff) | |
| download | invidious-a291b29c6f1ea54a2998d41e25346ecaa9bf34d1.tar.gz invidious-a291b29c6f1ea54a2998d41e25346ecaa9bf34d1.tar.bz2 invidious-a291b29c6f1ea54a2998d41e25346ecaa9bf34d1.zip | |
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.
| -rw-r--r-- | docker/Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
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" ] |
