Changed port to 7860. On Dockerfile_HF changed command to python3 src/stream_link_server.py
This commit is contained in:
@@ -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
2
run.py
@@ -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
|
||||
)
|
||||
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user