FROM python:3.10-slim # Install dependencies RUN pip install streamlit # Set Streamlit config to not gather usage stats RUN mkdir -p /root/.streamlit && \ echo "\ [browser]\n\ gatherUsageStats = false\n\ " > /root/.streamlit/config.toml # Copy your app files COPY . /app WORKDIR /app # Run the app CMD ["streamlit", "run", "app.py"]