Removed env file from dockerfile. Created dockerfile for HF installation

This commit is contained in:
2025-05-02 20:44:09 -05:00
parent 884ff4228c
commit e1e1d90d73
4 changed files with 22 additions and 3 deletions

20
Dockerfile_HF Normal file
View File

@@ -0,0 +1,20 @@
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies including FFmpeg
RUN apt-get update && apt-get install -y \
ffmpeg \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# Install Streamlink
RUN pip install --no-cache-dir streamlink
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"]