esp32_robot / Dockerfile
phanquocdat123's picture
Update Dockerfile
ca22fb8 verified
Raw History Blame Contribute Delete
335 Bytes
FROM python:3.9
# Cài đặt thêm FFmpeg để hỗ trợ xử lý âm thanh
RUN apt-get update && apt-get install -y ffmpeg
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]