Spaces:
Sleeping
Sleeping
Download Dockerfile from phanquocdat123/esp32_robot: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/spaces/phanquocdat123/esp32_robot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/phanquocdat123/esp32_robot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/phanquocdat123/esp32_robot/resolve/main/Dockerfile
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"] |