| FROM python:3.12 | |
| WORKDIR /code | |
| COPY * /code | |
| RUN pip install --no-cache-dir -r /code/requirement.txt | |
| RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |
| FROM python:3.12 | |
| WORKDIR /code | |
| COPY * /code | |
| RUN pip install --no-cache-dir -r /code/requirement.txt | |
| RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |