From 91bd73833138a5de79ad4ab60ea1e7d92e78189b Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Tue, 29 Jun 2021 13:02:25 +0200 Subject: [PATCH] Specify uwsgi listen port via ENV in Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 558c018..544458e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,11 +21,11 @@ USER $WMN_UID ARG PORT=3031 EXPOSE $PORT +ENV UWSGI_SOCKET=:$PORT # opens a uwsgi socket at the given port, which is to be used by a reverse proxy CMD [ "uwsgi", "--die-on-term", \ "--need-plugin", "python3", \ - "--socket", "0.0.0.0:${PORT}", \ "--wsgi-file", "/usr/src/wmn/wmn.py", \ "--master", \ "--processes", "1", \