FROM python:3.10.12-slim WORKDIR /app # Copy and install dependencies COPY requirements.txt . RUN pip install --no-cache-dir --no-compile --prefer-binary -r requirements.txt # Copy the rest of the application files COPY . . EXPOSE 8504 CMD ["streamlit", "run", "main1.py"]