FROM rust:slim # Install Python and dependencies RUN apt-get update && apt-get install -y python3 python3-pip && rm -rf /var/lib/apt/lists/* RUN pip3 install --upgrade pip # Set the working directory WORKDIR /app # Copy requirements COPY requirements.txt . # Install dependencies RUN pip install -r requirements.txt # Copy project files COPY . . # Command to run your application CMD ["streamlit", "run", "app.py"]