mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 09:25:12 +00:00
Implement and integrate TerminadoEvendHandler to docker container
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user