mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -31,5 +31,6 @@ COPY ./config/sql/ ./config/sql/
|
|||
COPY ./locales/ ./locales/
|
||||
COPY --from=builder /invidious/invidious .
|
||||
|
||||
EXPOSE 3000
|
||||
USER invidious
|
||||
CMD [ "/invidious/invidious" ]
|
||||
|
|
Loading…
Reference in a new issue