Team Ai
Apppublic

AbdallahAdel/HTTS_implementation

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
Dockerfile27 linesDownload Raw Back to root
1# Use a standard Python image2FROM python:3.9-slim3 4# Install modern system dependencies for OpenCV5RUN apt-get update && apt-get install -y \6    libgl1 \7    libglib2.0-0 \8    libsm6 \9    libxext6 \10    libxrender1 \11    && rm -rf /var/lib/apt/lists/*12 13# Set the working directory14WORKDIR /app15 16# Copy requirements and install17COPY requirements.txt .18RUN pip install --no-cache-dir -r requirements.txt19 20# Copy the rest of the code21COPY . .22 23# Expose the port Streamlit uses24EXPOSE 786025 26# Command to run Streamlit27CMD ["streamlit", "run", "App.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]