FROM python:3.10-slim | |
# Install system dependencies for portaudio | |
RUN apt-get update && \ | |
apt-get install -y portaudio19-dev && \ | |
apt-get clean | |
# Install Python dependencies | |
COPY requirements.txt . | |
RUN pip install -r requirements.txt | |
# Copy the application files | |
COPY . /app | |
WORKDIR /app | |
CMD ["python", "page.py"] |