Implement and integrate TerminadoEvendHandler to docker container

This commit is contained in:
Kristóf Tóth
2018-01-24 15:10:59 +01:00
parent 6b6f4942c0
commit 83b66c47b5
6 changed files with 51 additions and 28 deletions

View File

@ -33,7 +33,7 @@ RUN curl -fSL -o pyenv-installer ${PYENV_INSTALLER_URL} &&\
. $HOME/.pyenvrc &&\
pyenv install ${PYTHON_VERSION} &&\
pyenv global ${PYTHON_VERSION} &&\
pip install tornado pyzmq transitions
pip install tornado pyzmq transitions terminado
USER root
WORKDIR /data/
@ -43,15 +43,17 @@ RUN yarn build --no-progress
ENV TFW_WEB_PORT=4242
ENV TFW_LOGIN_APP_PORT=6666
ENV TFW_TERMINADO_PORT=7878
ENV TFW_PUBLIC_PORT=8888
ENV TFW_SUPERVISOR_HTTP_PORT=9001
EXPOSE ${TFW_PUBLIC_PORT}
EXPOSE ${TFW_PUBLIC_PORT} ${TFW_TERMINADO_PORT}
ENV TFW_EVENT_HANDLERS_DIR="/opt/event_handlers"
ENV TFW_APP_DIR="/srv/app"
ENV TFW_FRONTEND_DIR="/srv/frontend"
ENV TFW_LOGIN_APP_DIR="/tmp/source_code_server"
ENV TFW_TERMINADO_DIR="/tmp/terminado_server"
ENV TFW_LIB_DIR="/usr/local/lib/"
ENV TFW_SUPERVISORD_CONF="/etc/supervisor/supervisord.conf"