From ca59787cd46436a1dd65c782d064bf31db486b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Bokros?= Date: Mon, 4 Dec 2017 14:04:20 +0100 Subject: [PATCH] Expose WEB_PORT envvar instead of hardcoding the value directly after the envvar was defined --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b39af93..c879c05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,6 @@ ENV TFW_SUPERVISORD_CONF="/etc/supervisor/supervisord.conf" COPY supervisord.conf ${TFW_SUPERVISORD_CONF} ENV WEB_PORT=4242 -EXPOSE 4242 +EXPOSE ${WEB_PORT} CMD . "$HOME/.pyenvrc" && exec supervisord --nodaemon