Expose WEB_PORT envvar instead of hardcoding the value directly after the envvar was defined

This commit is contained in:
Bálint Bokros 2017-12-04 14:04:20 +01:00
parent d916f5bc65
commit ca59787cd4

View File

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