diff --git a/server/eb/Makefile b/server/eb/Makefile index 3c9c5b4a..05b24f83 100644 --- a/server/eb/Makefile +++ b/server/eb/Makefile @@ -27,6 +27,9 @@ build: clean if [ -f customize/config.yaml ] ; then \ cp customize/config.yaml artifact.dir; \ fi ; \ + if [ -f customize/Dockerfile ] ; then \ + cp customize/Dockerfile artifact.dir; \ + fi ; \ if [ -f customize/requirements.txt ] ; then \ pip install requirements-parser ; \ pip install packaging ; \ diff --git a/server/eb/app.py b/server/eb/app.py index 4b2212f5..7de161b7 100644 --- a/server/eb/app.py +++ b/server/eb/app.py @@ -185,7 +185,7 @@ else: if __name__ == "__main__": try: - application.run(debug=debug, threaded=not debug, use_debugger=False) + application.run(host=app_config.server_config.app__host, debug=debug, threaded=not debug, use_debugger=False) except Exception: logging.critical("Caught exception during initialization", exc_info=True) sys.exit(1)