diff --git a/solvable/Dockerfile b/solvable/Dockerfile index 2a3472f..24f79d9 100644 --- a/solvable/Dockerfile +++ b/solvable/Dockerfile @@ -20,7 +20,7 @@ ADD solvable/src/webservice/frontend-deps.tar ${TFW_WEBSERVICE_DIR}/static # Create IDE directory, symlink server source and give proper permissions to AVATAO_USER RUN mkdir -p ${TFW_IDE_WD} &&\ - ln -s ${TFW_WEBSERVICE_DIR}/server.py ${TFW_IDE_WD} &&\ + ln -s ${TFW_WEBSERVICE_DIR}/user_ops.py ${TFW_IDE_WD} &&\ chown -R ${AVATAO_USER}: ${TFW_IDE_WD} && chmod -R 755 ${TFW_IDE_WD} # Hide TFW related code from user diff --git a/solvable/src/webservice/server.py b/solvable/src/webservice/server.py index f825468..f76a5d8 100644 --- a/solvable/src/webservice/server.py +++ b/solvable/src/webservice/server.py @@ -84,4 +84,4 @@ def servererror(error): if __name__ == '__main__': - app.run(host='127.0.0.1', debug=True, port=11111) + app.run(host='127.0.0.1', debug=False, port=11111)