This commit is contained in:
Saifeddine ALOUI 2023-10-15 02:47:46 +02:00
parent e9492dd529
commit 008e095943
2 changed files with 2 additions and 2 deletions

View File

@ -27,5 +27,5 @@ COPY ./zoos /app/zoos
COPY ./configs /app/configs COPY ./configs /app/configs
RUN pip install -e . RUN pip install -e .
# Run app.py when the container launches # 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"]

View File

@ -414,7 +414,7 @@ def main():
LollmsPaths.reset_configs() LollmsPaths.reset_configs()
cv.init(args.default_cfg_path) cv.init(args.default_cfg_path)
app.run() app.run(host=args.host, port=args.port)
if __name__ == "__main__": if __name__ == "__main__":