Rename WEB_PORT to TFW_WEB_PORT

This commit is contained in:
Bálint Bokros
2018-01-10 16:52:03 +01:00
parent 0b8542fc39
commit 729ced323d
2 changed files with 3 additions and 3 deletions

View File

@ -22,6 +22,8 @@ RUN curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/p
pyenv global ${PYTHON_VERSION} && \
pip install tornado pyzmq transitions
ENV TFW_WEB_PORT=4242
EXPOSE ${TFW_WEB_PORT}
ENV TFW_APP_DIR="/srv/app"
COPY src/app ${TFW_APP_DIR}
@ -39,7 +41,5 @@ ENV TFW_SUPERVISORD_CONF="/etc/supervisor/supervisord.conf"
ENV TFW_SUPERVISOR_HTTP_PORT=9001
COPY supervisord.conf ${TFW_SUPERVISORD_CONF}
ENV WEB_PORT=4242
EXPOSE ${WEB_PORT}
CMD . "$HOME/.pyenvrc" && exec supervisord --nodaemon