From ef7e99f37d76b1b62eab92fbe2a3eb1057551f21 Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Fri, 4 Nov 2022 19:23:20 +0100 Subject: [PATCH] Dockerfile: Expose port 5000 Exposing the port is very helpful on the latest version of Synology's Docker integration into their DiskStation Manager (DSM). Once you expose the port, you can easily set up a reverse proxy on it. Other Docker-based products might also benefit from it. Therefore I'm contributing this change here. Signed-off-by: Thomas Karl Pietrowski (github: thopiekar) --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 89ca0b2..3a294dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,9 @@ RUN python ./setup.py develop # run as non priviledged user USER app +# expose the default http port +EXPOSE 5000 + # run the server by default ENTRYPOINT ["/usr/bin/dumb-init", "/app/docker-entrypoint.sh"] CMD ["server"]