From 008e095943e8fbab7859b94fdf5efa7f9eb485b7 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Sun, 15 Oct 2023 02:47:46 +0200 Subject: [PATCH] updated --- Dockerfile | 2 +- lollms/apps/elf/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e6a1e28..b66cc31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,5 +27,5 @@ COPY ./zoos /app/zoos COPY ./configs /app/configs RUN pip install -e . # Run app.py when the container launches -CMD ["lollms-elf","--host","0.0.0.0", "--default_cfg_path", "/app/elf_docker_cfg/config_paths.yaml"] +CMD ["lollms-elf","--host","0.0.0.0", "--port", "9601", "--default_cfg_path", "/app/elf_docker_cfg/config_paths.yaml"] diff --git a/lollms/apps/elf/__init__.py b/lollms/apps/elf/__init__.py index 547a4a7..a777d48 100644 --- a/lollms/apps/elf/__init__.py +++ b/lollms/apps/elf/__init__.py @@ -414,7 +414,7 @@ def main(): LollmsPaths.reset_configs() cv.init(args.default_cfg_path) - app.run() + app.run(host=args.host, port=args.port) if __name__ == "__main__":