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:
Slinky-Wrangle-Punch 2020-12-13 19:49:54 +01:00 committed by GitHub
parent b566c4ba1a
commit a291b29c6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" ]