mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-12 19:27:17 +00:00
Remove TFWServer logic (handled in baseimage from now)
This commit is contained in:
parent
9b3e62852d
commit
6b1fa664c4
@ -7,13 +7,13 @@ RUN pip3 install Flask==1.0 \
|
||||
git+https://github.com/avatao-content/tfwconnector.git#subdirectory=python3
|
||||
|
||||
# Define variables to use later
|
||||
ENV TFW_SERVER_DIR="/srv/.tfw" \
|
||||
ENV TFW_EHMAIN_DIR="/srv/.tfw_builtin_ehs" \
|
||||
TFW_WEBSERVICE_DIR="/srv/webservice" \
|
||||
TFW_IDE_WD="/home/${AVATAO_USER}/workdir" \
|
||||
TFW_TERMINADO_WD="/home/${AVATAO_USER}/workdir"
|
||||
|
||||
# Copy TFW related stuff to a dedicated directory
|
||||
COPY solvable/src ${TFW_SERVER_DIR}/
|
||||
COPY solvable/src ${TFW_EHMAIN_DIR}/
|
||||
|
||||
# Copy webservice to a dedicated directory
|
||||
COPY solvable/src/webservice/ ${TFW_WEBSERVICE_DIR}/
|
||||
|
@ -1,9 +0,0 @@
|
||||
from tornado.ioloop import IOLoop
|
||||
|
||||
from tfw.networking import TFWServer
|
||||
from tfw.config import TFWENV
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
TFWServer().listen(TFWENV.WEB_PORT)
|
||||
IOLoop.instance().start()
|
@ -1,4 +1,4 @@
|
||||
[program:event_handler_main]
|
||||
user=root
|
||||
directory=%(ENV_TFW_SERVER_DIR)s
|
||||
directory=%(ENV_TFW_EHMAIN_DIR)s
|
||||
command=python3 event_handler_main.py
|
||||
|
@ -1,4 +0,0 @@
|
||||
[program:tfwserver]
|
||||
user=root
|
||||
directory=%(ENV_TFW_SERVER_DIR)s
|
||||
command=python3 tfw_server.py
|
Loading…
Reference in New Issue
Block a user