# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config
FROM python:3.10-alpine

# Install build and audio dependencies
RUN apk add --no-cache \
        build-base \
        portaudio-dev \
        libsndfile-dev \
        fftw-dev \
        alsa-lib-dev \
        git

# Set working directory
WORKDIR /app

# Copy requirements and install Python dependencies
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

# Copy application code
COPY . .

# Default command
CMD ["python3", "audio_server.py"]
