FROM python:3.10 | |
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y | |
RUN pip install --upgrade pip | |
WORKDIR /src | |
COPY . /src | |
RUN pip install --no-cache-dir -r requirements.txt | |
EXPOSE 80 | |
CMD ["uvicorn", "app.main:app", "--root-path", "/user", "--host", "0.0.0.0", "--port", "80"] |