Changed port to 7860. On Dockerfile_HF changed command to python3 src/stream_link_server.py

This commit is contained in:
2025-05-04 14:33:39 -05:00
parent 9b8218b9f0
commit 2abae7fc1c
3 changed files with 3 additions and 3 deletions

View File

@@ -17,4 +17,4 @@ RUN git clone https://git.fiorinis.com/Home/streamlink-server.git .
RUN pip install --no-cache-dir -r ./src/requirements.txt
EXPOSE 7860
CMD ["uvicorn", "src.stream_link_server:app", "--host", "0.0.0.0", "--reload", "--port", "7860", "--workers", "4"]
CMD ["python3", "src/stream_link_server.py"]

2
run.py
View File

@@ -13,7 +13,7 @@ if __name__ == "__main__":
uvicorn.run(
"src.stream_link_server:app",
host="0.0.0.0",
port=8080,
port=7860,
reload=True,
workers=2
)

View File

@@ -49,7 +49,7 @@ if __name__ == "__main__":
uvicorn.run(
"stream_link_server:app",
host="0.0.0.0",
port=8080,
port=7860,
reload=True,
workers=2
)