Spaces:
Runtime error
Runtime error
| FROM python:3.11-slim | |
| # Cài đặt portaudio19-dev và các công cụ cần thiết | |
| RUN apt-get update && apt-get install -y portaudio19-dev gcc | |
| # Copy requirements.txt và cài đặt | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy code | |
| COPY app.py . | |
| # Chạy ứng dụng | |
| CMD ["python", "app.py"] |