Minor changes to eb server to use Docker (#1938)

part of #1866
This commit is contained in:
bmccandless
2020-10-22 17:04:08 -07:00
committed by GitHub
parent 9793398737
commit f41a023418
2 changed files with 4 additions and 1 deletions

View File

@@ -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 ; \

View File

@@ -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)