FROM python:3.12-slim WORKDIR /app # Copy requirements and install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application code COPY stt_streaming.py . COPY healthcheck.py . # Run the service CMD ["python", "stt_streaming.py"]