Cybersoft-AI / Dockerfile
hoangkha1810's picture
Create Dockerfile
789b82f verified
raw
history blame contribute delete
338 Bytes
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"]