Code refactoring. Added router and routes. Added static content.

This commit is contained in:
2025-05-04 14:15:37 -05:00
parent 939c6707e8
commit 9b8218b9f0
11 changed files with 380 additions and 202 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", "run:main_app", "--host", "0.0.0.0", "--reload", "--port", "7860", "--workers", "4"]
CMD ["uvicorn", "src.stream_link_server:app", "--host", "0.0.0.0", "--reload", "--port", "7860", "--workers", "4"]