# Use official Python image FROM python:3.11-slim # Set working directory WORKDIR /app # Copy all files in the folder into the container COPY . /app # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose default HuggingFace port EXPOSE 7860 # Run Streamlit app CMD ["streamlit", "run", "app_admin.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"]