# Use an official Python runtime as a base image FROM python:3.12-slim # Set the working directory in the container WORKDIR /usr/src/app # Copy the requirements file into the container at /usr/src/app COPY requirements.txt ./ # Install any dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy the rest of your app's source code from your host to your image filesystem. COPY . . # Run the Streamlit app CMD ["streamlit", "run", "streamlit_app.py"]